|
@@ -1390,6 +1390,24 @@ public class StorageBillController extends JeecgController<StorageBill, IStorage
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="钢坯装运单-看板车牌号更新", notes="钢坯装运单-看板车牌号更新")
|
|
|
+ @RequestMapping(value = "/editLicensePlate", method = {RequestMethod.PUT})
|
|
|
+ public Result<String> editLicensePlate(@RequestBody StorageBill storageBill) {
|
|
|
+ if(oConvertUtils.isEmpty(storageBill.getId())) {
|
|
|
+ return Result.error("参数异常!");
|
|
|
+ }
|
|
|
+ StorageBill bill = storageBillService.getById(storageBill.getId());
|
|
|
+ if (oConvertUtils.isEmpty(bill)){
|
|
|
+ return Result.OK("装运单信息为空,更新车牌号失败!");
|
|
|
+ }
|
|
|
+ bill.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ if ("1".equals(bill.getLicensePlateStatus().toString())){
|
|
|
+ bill.setLicensePlateStatus(0);
|
|
|
+ }
|
|
|
+ storageBillService.updateById(bill);
|
|
|
+ return Result.OK("更新车牌号成功!");
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value="当班所有装运信息-车辆运行看板", notes="当班所有装运信息-车辆运行看板")
|
|
|
@GetMapping(value = "/queryOnDutyAllStorageBillBoard")
|
|
|
public Result<OnDutyStorageBillVo> queryOnDutyAllStorageBillInfoBoard(@RequestParam(name="ccmNo") String ccmNo) {
|