Przeglądaj źródła

提价数据包

wangkaiyue 4 lat temu
rodzic
commit
f88e3afbfd

+ 3 - 0
src/jfw/modules/subscribepay/src/service/dataexportPack.go

@@ -141,6 +141,9 @@ func (this *DataExportPack) Statistics() {
 		switch this.GetString("doType") {
 		case "entPack": //企业数据包去重查询
 			entId := this.GetString("entId")
+			if entId == "" {
+				return nil, fmt.Errorf("请选择企业")
+			}
 			deduct, err := entity.JyDataExportPack.DoEntPackRepeatCheck(this.Session(), userId, entId, filterId, selectCount)
 			if err != nil {
 				log.Printf("%s Statistics-DoEntPackRepeatCheck 查询导出id失败 %v\n", userId, err)

BIN
src/jfw/modules/subscribepay/src/web/staticres/fields.xlsx