点位状态更新
This commit is contained in:
@@ -179,7 +179,7 @@ public class PointServiceImpl implements PointService {
|
||||
dto.setMaterial_id(null);
|
||||
dto.setInstorage_time(now);
|
||||
dto.setStanding_time(BigDecimal.valueOf(0));
|
||||
} else { // 有料
|
||||
} else if (pointStatus.equals("3")) { // 有料
|
||||
if (ObjectUtil.isEmpty(dto.getMaterial_id())) throw new BadRequestException("物料不能为空");
|
||||
if (ObjectUtil.isEmpty(dto.getIvt_qty())) throw new BadRequestException("库存数不能为空");
|
||||
JSONObject materialObj = materialBaseTab.query("material_id = '" + dto.getMaterial_id() + "'").uniqueResult(0);
|
||||
|
||||
Reference in New Issue
Block a user