|
@@ -307,13 +307,54 @@ public class StorageBillController extends JeecgController<StorageBill, IStorage
|
|
|
return Result.OK(result);
|
|
|
}
|
|
|
|
|
|
- @AutoLog(value = "钢坯装运单未知目的地车位发车")
|
|
|
- @ApiOperation(value="钢坯装运单未知目的地车位发车", notes="钢坯装运单未知目的地车位发车")
|
|
|
- @PostMapping(value = "/parkingSpaceDepart")
|
|
|
- public Result<String> addParkingSpaceDepart(@RequestBody StorageBill storageBill) {
|
|
|
+ @AutoLog(value = "钢坯装运单未知目的地,车位1发车")
|
|
|
+ @ApiOperation(value="钢坯装运单未知目的地,车位1发车", notes="钢坯装运单未知目的地,车位1发车")
|
|
|
+ @RequiresPermissions("storageBill:storage_bill:add1")
|
|
|
+ @PostMapping(value = "/parkingSpaceDepart1")
|
|
|
+ public Result<String> addParkingSpaceDepart1(@RequestBody StorageBill storageBill) {
|
|
|
+ //获取登录用户信息
|
|
|
JSONObject jsonObject = storageBillService.addParkingSpaceDepart(storageBill);
|
|
|
if (jsonObject.containsKey("fail")){
|
|
|
- return Result.OK((String) jsonObject.get("fail"));
|
|
|
+ return Result.error((String) jsonObject.get("fail"));
|
|
|
+ }
|
|
|
+ return Result.OK((String) jsonObject.get("success"));
|
|
|
+ }
|
|
|
+
|
|
|
+ @AutoLog(value = "钢坯装运单未知目的地,车位2发车")
|
|
|
+ @ApiOperation(value="钢坯装运单未知目的地,车位2发车", notes="钢坯装运单未知目的地,车位2发车")
|
|
|
+ @RequiresPermissions("storageBill:storage_bill:add2")
|
|
|
+ @PostMapping(value = "/parkingSpaceDepart2")
|
|
|
+ public Result<String> addParkingSpaceDepart2(@RequestBody StorageBill storageBill) {
|
|
|
+ //获取登录用户信息
|
|
|
+ JSONObject jsonObject = storageBillService.addParkingSpaceDepart(storageBill);
|
|
|
+ if (jsonObject.containsKey("fail")){
|
|
|
+ return Result.error((String) jsonObject.get("fail"));
|
|
|
+ }
|
|
|
+ return Result.OK((String) jsonObject.get("success"));
|
|
|
+ }
|
|
|
+
|
|
|
+ @AutoLog(value = "钢坯装运单未知目的地,车位3发车")
|
|
|
+ @ApiOperation(value="钢坯装运单未知目的地,车位3发车", notes="钢坯装运单未知目的地,车位3发车")
|
|
|
+ @RequiresPermissions("storageBill:storage_bill:add3")
|
|
|
+ @PostMapping(value = "/parkingSpaceDepart3")
|
|
|
+ public Result<String> addParkingSpaceDepart3(@RequestBody StorageBill storageBill) {
|
|
|
+ //获取登录用户信息
|
|
|
+ JSONObject jsonObject = storageBillService.addParkingSpaceDepart(storageBill);
|
|
|
+ if (jsonObject.containsKey("fail")){
|
|
|
+ return Result.error((String) jsonObject.get("fail"));
|
|
|
+ }
|
|
|
+ return Result.OK((String) jsonObject.get("success"));
|
|
|
+ }
|
|
|
+
|
|
|
+ @AutoLog(value = "钢坯装运单未知目的地,车位4发车")
|
|
|
+ @ApiOperation(value="钢坯装运单未知目的地,车位4发车", notes="钢坯装运单未知目的地,车位4发车")
|
|
|
+ @RequiresPermissions("storageBill:storage_bill:add4")
|
|
|
+ @PostMapping(value = "/parkingSpaceDepart4")
|
|
|
+ public Result<String> addParkingSpaceDepart4(@RequestBody StorageBill storageBill) {
|
|
|
+ //获取登录用户信息
|
|
|
+ JSONObject jsonObject = storageBillService.addParkingSpaceDepart(storageBill);
|
|
|
+ if (jsonObject.containsKey("fail")){
|
|
|
+ return Result.error((String) jsonObject.get("fail"));
|
|
|
}
|
|
|
return Result.OK((String) jsonObject.get("success"));
|
|
|
}
|