Commit 7406ad05 authored by tianyiming's avatar tianyiming

维修告知列表修改

parent d11fd7cd
......@@ -27,8 +27,8 @@ public interface JgMaintainNoticeMapper extends CustomBaseMapper<JgMaintainNotic
Page<JgMaintainNotice> queryForPage(Page<JgMaintainNotice> page,
@Param("param") JgMaintainNoticeDto model,
@Param("type") String type,
@Param("userId") String userId,
@Param("orgCode") String orgCode);
@Param("orgCode") String orgCode,
@Param("userId") String userId);
/**
* 根据维修告知编号查询设备、设计、制造等信息
......
......@@ -18,7 +18,6 @@
LEFT JOIN idx_biz_jg_other_info ibjoi on isneq.equ_id = ibjoi.RECORD
<where>
isn.is_delete = 0
and isn.transfer_to_user_ids like concat('%',#{userId},'%'))
<if test="param != null ">
<if test="param.applyNo != null and param.applyNo != ''">
AND isn.apply_no LIKE CONCAT('%', #{param.applyNo}, '%')
......@@ -49,6 +48,7 @@
<if test="type == 'company'">
AND isn.install_unit_credit_code = #{orgCode}
</if>
or isn.transfer_to_user_ids like concat('%',#{userId},'%')
</where>
ORDER BY
isn.apply_no DESC
......
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