变更返回码为200
This commit is contained in:
parent
b50023b60e
commit
3975060c2e
|
|
@ -69,7 +69,7 @@ public class AppPmsController extends BaseController {
|
||||||
// 判断入库单号是否重复
|
// 判断入库单号是否重复
|
||||||
AppPmsOrderIn existAppPmsOrderIn = appPmsOrderInService.selectAppPmsOrderInByListId(orderInRequest.getListId());
|
AppPmsOrderIn existAppPmsOrderIn = appPmsOrderInService.selectAppPmsOrderInByListId(orderInRequest.getListId());
|
||||||
if (existAppPmsOrderIn != null) {
|
if (existAppPmsOrderIn != null) {
|
||||||
return AjaxResult.error(201,"入库单已存在");
|
return AjaxResult.error("入库单已存在");
|
||||||
}
|
}
|
||||||
AppPmsOrderIn appPmsOrderIn = new AppPmsOrderIn();
|
AppPmsOrderIn appPmsOrderIn = new AppPmsOrderIn();
|
||||||
BeanUtils.copyProperties(orderInRequest, appPmsOrderIn);
|
BeanUtils.copyProperties(orderInRequest, appPmsOrderIn);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user