Commit af458fb5 authored by jiaorz's avatar jiaorz

Merge branch 'master-modify-background-bug-hf'

# Conflicts:
#	ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/dto/AppUserManageDTO.java
#	ace-modules/ace-admin/src/main/resources/mapper/AppUserDetailMapper.xml
parents 10367486 485008fc
...@@ -65,6 +65,10 @@ public class AppUserManageDTO { ...@@ -65,6 +65,10 @@ public class AppUserManageDTO {
*/ */
private Integer userId; private Integer userId;
/**
* 真实姓名
*/
private String realName;
// /** // /**
// * 接收前台时间范围 // * 接收前台时间范围
// */ // */
......
...@@ -190,7 +190,10 @@ ...@@ -190,7 +190,10 @@
and d.source = #{source} and d.source = #{source}
</if> </if>
<if test="userId!=null"> <if test="userId!=null">
and l.id=#{userId} and l.id=#{userId}
</if>
<if test="realName !=null and realName != ''">
and d.realname like CONCAT('%',#{realName},'%')
</if> </if>
<if test="citySet != null "> <if test="citySet != null ">
and d.city_code in and d.city_code in
......
...@@ -130,7 +130,7 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp ...@@ -130,7 +130,7 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
return false; return false;
} }
if (e.getStatus() == 4) { if (e.getStatus() == 4||e.getStatus() == 5) {
value.setShowType(2); value.setShowType(2);
return false; return false;
} }
...@@ -151,11 +151,12 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp ...@@ -151,11 +151,12 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
public void updateCrossRecord(OrderVehicleCrosstownDto value) { public void updateCrossRecord(OrderVehicleCrosstownDto value) {
if (value.getOrperaterId() != null) { if (value.getOrperaterId() != null) {
ObjectRestResponse<AppUserDTO> objectRestResponse = userFeign.userDetailById(value.getOrperaterId()); ObjectRestResponse<UserDTO> userDTOObjectRestResponse = userFeign.userinfoByUid(value.getOrperaterId());
if (objectRestResponse.getData() != null) { log.info("操作人用户信息:{}",userDTOObjectRestResponse.getData());
AppUserDTO data = objectRestResponse.getData(); if (userDTOObjectRestResponse.getData() != null) {
value.setUsername(data.getNickname()); UserDTO data = userDTOObjectRestResponse.getData();
value.setOperatorName(data.getRealname()); // value.setUsername(data.getNickname());
// value.setOperatorName(data.getRealname());
value.setOperatorPhone(data.getUsername()); value.setOperatorPhone(data.getUsername());
value.setOperatorTime(value.getCrtTime()); value.setOperatorTime(value.getCrtTime());
} }
......
...@@ -230,7 +230,7 @@ public class BackStageOrderController extends CommonBaseController implements Us ...@@ -230,7 +230,7 @@ public class BackStageOrderController extends CommonBaseController implements Us
} }
if (StringUtils.isNotBlank(orderPageVO.getOrderRentVehicleDetail().getMyDriverIds())) { if (StringUtils.isNotBlank(orderPageVO.getOrderRentVehicleDetail().getMyDriverIds())) {
log.info("本人驾驶,驾驶人id:{}",orderPageVO.getOrderRentVehicleDetail().getMyDriverIds()); log.info("自己司机,驾驶人id:{}",orderPageVO.getOrderRentVehicleDetail().getMyDriverIds());
try { try {
List<VehicleUserLicense> orderUserLicenses = vehicleFeign.getVehicleLicenseList(orderPageVO.getOrderRentVehicleDetail().getMyDriverIds()).getData(); List<VehicleUserLicense> orderUserLicenses = vehicleFeign.getVehicleLicenseList(orderPageVO.getOrderRentVehicleDetail().getMyDriverIds()).getData();
log.info("驾驶人信息:{}",orderUserLicenses); log.info("驾驶人信息:{}",orderUserLicenses);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment