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