|
|
@ -369,9 +369,6 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
public ResultBean<String> saveCarTransferInfo(AppScmVehicleGressionDto dto) { |
|
|
|
ResultBean<String> rb = ResultBean.fireFail(); |
|
|
|
List<ScmVehicleGressionVehDto> scmVehicleGressionVehDtos = dto.getScmVehicleGressionVehs(); |
|
|
|
if (scmVehicleGressionVehDtos == null) { |
|
|
|
return rb.setMsg("请选择车架号!"); |
|
|
|
} |
|
|
|
if (dto.getLocationSid().equals(dto.getTargetLocationSid())) { |
|
|
|
return rb.setMsg("目标存放地点不能与现存放地点重复!"); |
|
|
|
} |
|
|
@ -655,6 +652,10 @@ public class ScmVehicleGressionService extends MybatisBaseService<ScmVehicleGres |
|
|
|
*/ |
|
|
|
public ResultBean submitCarTransfer(SubmitCarTransferDto dto) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
List<ScmVehicleGressionVehDto> scmVehicleGressionVehDtos1 = dto.getScmVehicleGressionVehs(); |
|
|
|
if (scmVehicleGressionVehDtos1.size() == 0) { |
|
|
|
return rb.setMsg("请选择车架号!"); |
|
|
|
} |
|
|
|
//根据用户sid获取staffSid
|
|
|
|
ResultBean<SysUserVo> userVoResultBean = sysUserFeign.fetchBySid(dto.getUserSid()); |
|
|
|
if (!userVoResultBean.getSuccess()) { |
|
|
|