修试入库

This commit is contained in:
cwchen 2023-12-17 16:48:01 +08:00
parent ce490e7ebd
commit 1cf671a47e
1 changed files with 2 additions and 2 deletions

View File

@ -50,11 +50,11 @@ public class RepairTestInputServiceImpl implements RepairTestInputService {
public AjaxResult inputByType(String params) { public AjaxResult inputByType(String params) {
try { try {
if (StringUtils.isEmpty(params)) { if (StringUtils.isEmpty(params)) {
return AjaxResult.error(HttpStatus.ERROR, "参数类型不正确"); return AjaxResult.error(HttpStatus.ERROR, "参数不正确");
} }
List<RepairTestWarehousingDto> list = JSONObject.parseArray(params, RepairTestWarehousingDto.class); List<RepairTestWarehousingDto> list = JSONObject.parseArray(params, RepairTestWarehousingDto.class);
if(CollectionUtils.isEmpty(list)){ if(CollectionUtils.isEmpty(list)){
return AjaxResult.error(HttpStatus.ERROR, "参数类型不正确"); return AjaxResult.error(HttpStatus.ERROR, "参数不正确");
} }
Long companyId = SecurityUtils.getLoginUser().getSysUser().getCompanyId(); Long companyId = SecurityUtils.getLoginUser().getSysUser().getCompanyId();
String updateTime = DateTimeHelper.getNowTime(); String updateTime = DateTimeHelper.getNowTime();