浏览代码

修改

master
yangpeilai 1 个月前
父节点
当前提交
67d191c03d

+ 1
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/dto/ass/AssDeviceLossReqDTO.java 查看文件

@@ -61,7 +61,7 @@ public class AssDeviceLossReqDTO extends AbstractBizRequestDTO {
validator.addViolation("loginSource", "登录来源有误");
}
if (getOrderSource() == SourceType.SERVICE_HALL) {
validator.validFieldNotBlank("staffOpenId", staffId);
validator.validFieldNotBlank("staffId", staffId);
validator.validFieldNotBlank("vehPosImgUrl", vehPosImgUrl);
validator.validFieldNotBlank("vehNegImgUrl", vehNegImgUrl);
}

+ 2
- 2
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/DeviceLossManagerImpl.java 查看文件

@@ -62,11 +62,11 @@ public class DeviceLossManagerImpl extends AbstractIawManager implements DeviceL
default:
throw new ManagerException("业务类型出错!");
}
// 保存日志操作日志
persistOperateLog(operateType, response.getOrderNo(), source, findOpenIdByToken(reqDto.getAccessToken()), "挂失解挂操作" + response.getMsg());

if (!"1".equals(response.getCode())) {
throw new ManagerException("出错了"+response.getMsg());
}
// 保存日志操作日志 失败不计入日志
persistOperateLog(operateType, response.getOrderNo(), source, findOpenIdByToken(reqDto.getAccessToken()), "挂失解挂操作" + response.getMsg());
}
}

正在加载...
取消
保存