Commit b1aadd97 authored by hanfeng's avatar hanfeng

修改车辆信息

parent 48f5ae9e
......@@ -60,6 +60,12 @@ public class AppUserManageDTO {
*/
private Set<Integer> citySet;
/**
* 公司所在的城市数组
*/
private String realName;
// /**
// * 接收前台时间范围
// */
......
......@@ -189,6 +189,9 @@
<if test="source !=null ">
and d.source = #{source}
</if>
<if test=" realname !=null realname != ''">
d.realname like CONCAT('%',#{realname},'%')
</if>
<if test="citySet != null ">
and d.city_code in
<foreach collection="citySet" item="item" index="index" open="(" separator="," close=")" >
......
......@@ -150,9 +150,10 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
public void updateCrossRecord(OrderVehicleCrosstownDto value) {
if (value.getOrperaterId() != null) {
ObjectRestResponse<AppUserDTO> objectRestResponse = userFeign.userDetailById(value.getOrperaterId());
if (objectRestResponse.getData() != null) {
AppUserDTO data = objectRestResponse.getData();
ObjectRestResponse<UserDTO> userDTOObjectRestResponse = userFeign.userinfoByUid(value.getOrperaterId());
log.info("操作人用户信息:{}",userDTOObjectRestResponse.getData());
if (userDTOObjectRestResponse.getData() != null) {
UserDTO data = userDTOObjectRestResponse.getData();
value.setUsername(data.getNickname());
value.setOperatorName(data.getRealname());
value.setOperatorPhone(data.getUsername());
......
......@@ -230,7 +230,7 @@ public class BackStageOrderController extends CommonBaseController implements Us
}
if (StringUtils.isNotBlank(orderPageVO.getOrderRentVehicleDetail().getMyDriverIds())) {
log.info("本人驾驶,驾驶人id:{}",orderPageVO.getOrderRentVehicleDetail().getMyDriverIds());
log.info("自己司机,驾驶人id:{}",orderPageVO.getOrderRentVehicleDetail().getMyDriverIds());
try {
List<VehicleUserLicense> orderUserLicenses = vehicleFeign.getVehicleLicenseList(orderPageVO.getOrderRentVehicleDetail().getMyDriverIds()).getData();
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