This commit is contained in:
邹宗楠
2022-10-20 09:55:40 +08:00
parent 654e9095a6
commit f25aeefb84
3 changed files with 3 additions and 7 deletions

View File

@@ -91,10 +91,6 @@ func (p *PrintSettingDao) QueryPrintSetting(printNo string) (*settingModel.Print
if err := globals.GetDB().Select(&result, sql, []interface{}{printNo, utils.DefaultTimeValue}...); err != nil {
return nil, err
}
globals.SugarLogger.Debugf("=====result:%s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("=====result:%s", utils.Format4Output(printNo, false))
globals.SugarLogger.Debugf("=====result:%s", utils.Format4Output(utils.DefaultTimeValue, false))
if len(result) != 1 {
return nil, fmt.Errorf("打印机设置查询错误,联系管理员")
}