add: 联调
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<result property="ticketsId" column="tickets_id"/>
|
||||
<result property="carType" column="car_type"/>
|
||||
<result property="errorType" column="error_type"/>
|
||||
<result property="contractNumber" column="contract_number"/>
|
||||
<result property="contractId" column="contract_number"/>
|
||||
<result property="clientId" column="client_id"/>
|
||||
<result property="description" column="description"/>
|
||||
<result property="deptPeople" column="dept_people"/>
|
||||
@@ -19,6 +19,14 @@
|
||||
<result property="status" column="status"/>
|
||||
<result property="updateTime" column="update_time"/>
|
||||
</resultMap>
|
||||
<select id="getTicketsDTOById" resultType="com.boge.modules.tickets.dto.TicketsDTO" parameterType="java.lang.String">
|
||||
select * from sys_tickets as a
|
||||
left join sys_client as b on a.client_id = b.client_id
|
||||
left join sys_car as c on a.car_type = c.car_id
|
||||
left join sys_contract as d on a.contract_id = d.contract_id
|
||||
|
||||
where a.tickets_id = #{ticketsId}
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user