|
@@ -3,11 +3,13 @@
|
|
|
<mapper namespace="com.fdkankan.agent.mapper.ICameraIncrementLogMapper">
|
|
|
|
|
|
<select id="pageList" resultType="com.fdkankan.agent.response.CameraIncrementVo">
|
|
|
- select cil.*,c.sn_code,u.user_name as operationUserName,ui.increment_type_id from t_camera_increment_log cil
|
|
|
+ select cil.*,c.sn_code,u.user_name as operationUserName,ui.increment_type_id ,uit.valid_time_type
|
|
|
+ from t_camera_increment_log cil
|
|
|
left join t_camera c on cil.camera_id = c.id
|
|
|
left join t_user_increment ui on cil.increment_id = ui.id
|
|
|
left join t_user u on cil.operation_user = u.id
|
|
|
- where cil.rec_status = 'A'
|
|
|
+ left join t_increment_type uit on ui.increment_type_id = uit.id
|
|
|
+ where cil.rec_status = 'A'
|
|
|
<if test="param.snCode != null and param.snCode !=''">
|
|
|
and c.sn_code like concat ('%',#{param.snCode},'%')
|
|
|
</if>
|