|
@@ -343,7 +343,7 @@ func CratePrintCode(rdb *gorm.DB, code models.DataPrintCode) error {
|
343
|
343
|
|
344
|
344
|
func GetHisLabelPrintStatusInfo(user_org_id int64) (info []*models.XtHisLabelPrintStatusInfo, err error) {
|
345
|
345
|
|
346
|
|
- err = XTReadDB().Where("user_org_id = ? and status=1", user_org_id).Find(&info).Error
|
|
346
|
+ err = XTReadDB().Where("user_org_id = ? and status=1 and record_date ='2024-09-04'", user_org_id).Find(&info).Error
|
347
|
347
|
|
348
|
348
|
return info, err
|
349
|
349
|
}
|