车辆审核
This commit is contained in:
parent
274e356708
commit
3591f6907f
@ -80,6 +80,8 @@ public class ShiroConfig {
|
||||
filterChainDefinitionMap.put("/vehicledemandcount/vehicleDemandCount/getVdCountById", "anon"); //获取用车计算数据
|
||||
filterChainDefinitionMap.put("/vehicleinout/vehicleInOut/take", "anon"); //提货
|
||||
filterChainDefinitionMap.put("/logisticsdriver/logisticsDriver/getDriverInfo", "anon"); //查询司机信息
|
||||
filterChainDefinitionMap.put("/vehicleinout/vehicleInOut/getCarNum", "anon"); // 车辆出入厂明细
|
||||
filterChainDefinitionMap.put("/vehicleinout/vehicleInOut/handleConfirm", "anon"); // 车辆出入厂审核
|
||||
|
||||
filterChainDefinitionMap.put("/sys/cas/client/validateLogin", "anon"); //cas验证登录
|
||||
filterChainDefinitionMap.put("/sys/randomImage/**", "anon"); //登录验证码接口排除
|
||||
|
@ -182,7 +182,7 @@ public class VehicleInOutController extends JeecgController<VehicleInOut, IVehic
|
||||
@PostMapping(value = "/handleConfirm")
|
||||
public Result<String> handleConfirm(@RequestBody VehicleInOut vehicleInOut) {
|
||||
VehicleInOut byId = vehicleInOutService.getById(vehicleInOut.getId());
|
||||
if (Integer.parseInt(vehicleInOut.getCurrentStatus()) <= Integer.parseInt(byId.getCurrentStatus())) {
|
||||
if (vehicleInOut.getCurrentStatus() != null && Integer.parseInt(vehicleInOut.getCurrentStatus()) <= Integer.parseInt(byId.getCurrentStatus())) {
|
||||
return Result.error("操作失败,请按照流程操作!");
|
||||
}
|
||||
if ("3".equals(vehicleInOut.getCurrentStatus())) {
|
||||
|
@ -29,7 +29,6 @@
|
||||
FROM tms_vehicle_in_out a
|
||||
LEFT JOIN tms_vehicle_demand b
|
||||
ON a.VD_NO = b.VD_NO
|
||||
WHERE b.SHIP_DATE = TRUNC(SYSDATE)
|
||||
AND a.CURRENT_STATUS != '4';
|
||||
WHERE b.SHIP_DATE = TRUNC(SYSDATE);
|
||||
</select>
|
||||
</mapper>
|
Loading…
x
Reference in New Issue
Block a user