Compare commits
2 Commits
934a17d839
...
99f09396e8
| Author | SHA1 | Date |
|---|---|---|
|
|
99f09396e8 | |
|
|
75c83077ba |
|
|
@ -188,11 +188,13 @@ public class TmTaskController extends BaseController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 查询改领料单位下面有没有配置二级库
|
// 查询改领料单位下面有没有配置二级库
|
||||||
SecondLotConfig config = new SecondLotConfig();
|
if ("1".equals(task.getLeaseType())){
|
||||||
config.setUnitId(task.getUnitId());
|
SecondLotConfig config = new SecondLotConfig();
|
||||||
SecondLotConfig secondLotConfig = secondaryWarehouseMapper.selectConfigByLotId(config);
|
config.setUnitId(task.getUnitId());
|
||||||
if (secondLotConfig == null) {
|
SecondLotConfig secondLotConfig = secondaryWarehouseMapper.selectConfigByLotId(config);
|
||||||
return AjaxResult.error("该领料单位未配置二级库,请先配置");
|
if (secondLotConfig == null) {
|
||||||
|
return AjaxResult.error("该领料单位未配置二级库,请先配置");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
String code = tmTaskService.genderLeaseCode();
|
String code = tmTaskService.genderLeaseCode();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue