更新9.28

This commit is contained in:
许允枞 2024-09-28 10:04:38 +08:00
parent 4b735e02ce
commit bba101f127
2 changed files with 5 additions and 3 deletions

View File

@ -3,9 +3,11 @@
<mapper namespace="com.fuint.business.fleet.mapper.FleetLinesChangeMapper">
<select id="queryAllByLimit" resultType="com.fuint.business.fleet.vo.FleetLinesChangeVo">
select fc.*, mu.name userName
select fc.*, mu.name userName,COALESCE(mu2.name, ta.account_name) createName
from fleet_lines_change fc
left join mt_user mu on mu.id = fc.user_id
left join mt_user mu on mu.id = fc.user_id
left join mt_user mu2 on mu2.id = fc.create_by
left join t_account ta on ta.acct_id = fc.create_by
<where>
<if test="fleetLinesChange.fleetId != null and fleetLinesChange.fleetId != ''">
and fc.fleet_id = #{fleetLinesChange.fleetId}

View File

@ -13,7 +13,7 @@ public class FleetLinesChangeVo extends FleetLinesChange {
/**
* 操作人名称
*/
private String creatName;
private String createName;
@JsonIgnore
private String startTime;