bug修复==》 表单内 3.1 和 部分3.2 bug修复
This commit is contained in:
+18
@@ -21,6 +21,7 @@ import com.adc.da.util.LoginUserUtil;
|
||||
import com.adc.da.util.UUIDUtils;
|
||||
import com.adc.da.utils.util.*;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
@@ -765,4 +766,21 @@ public class SarStandardsInfoController extends BaseController<SarStandardsInfo>
|
||||
return "1";
|
||||
}
|
||||
|
||||
@ApiOperation(value = "|SarStandardsInfoEO|自定义分页查询")
|
||||
@GetMapping("/checkIsOnly")
|
||||
public ResponseMessage checkIsOnly (SarStandardsInfoEOPage page){
|
||||
|
||||
QueryWrapper<SarStandardsInfo> wrapper=new QueryWrapper<>();
|
||||
wrapper .eq("STAND_TYPE",page.getStandType())
|
||||
.eq(null!=page.getStandSort(),"STAND_SORT",page.getStandSort())
|
||||
.eq(null!=page.getStandNumber(),"STAND_NUMBER",page.getStandNumber())
|
||||
.eq(null!=page.getStandYear(),"STAND_YEAR",page.getStandYear());
|
||||
Integer s=sarStandardsInfoEOService.count(wrapper);
|
||||
if (s>0){
|
||||
return Result.error();
|
||||
}else {
|
||||
return Result.success();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user