|
@@ -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)
|