Bug修复
This commit is contained in:
parent
f5f2307232
commit
660d90550a
|
|
@ -249,14 +249,14 @@ public class TmTaskController extends BaseController {
|
|||
}
|
||||
}
|
||||
//修改库存
|
||||
List<LeaseApplyDetails> leaseApplyDetailsList = task.getLeaseApplyDetails();
|
||||
/* List<LeaseApplyDetails> leaseApplyDetailsList = task.getLeaseApplyDetails();
|
||||
MaType maType = new MaType();
|
||||
for (LeaseApplyDetails leaseApplyDetails : leaseApplyDetailsList) {
|
||||
maType.setTypeId(Long.valueOf(leaseApplyDetails.getTypeId()));
|
||||
maType.setNum(BigDecimal.valueOf(leaseApplyDetails.getNum()-leaseApplyDetails.getPreNum()));
|
||||
iTypeService.updateMaType(maType);
|
||||
}
|
||||
|
||||
*/
|
||||
if (StringUtils.isEmpty(taskId)) {
|
||||
return AjaxResult.error("任务编号为空,创建失败");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue