装备质检记录bug修改

This commit is contained in:
liang.chao 2024-12-23 11:03:22 +08:00
parent 63ec64e82a
commit 48d9ebf531
2 changed files with 3 additions and 2 deletions

View File

@ -239,6 +239,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mt4.lease_price as dayLeasePrice,
d.person as person,
d.person_phone as personPhone,
d.own_id as ownId,
d.own_co as companyId,
sd.dept_name as companyName,
c.operate_address as operateAddress,

View File

@ -102,12 +102,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bfi.url AS url
FROM
ma_dev_qc mdq
LEFT JOIN bm_file_info bfi ON bfi.model_id = mdq.ma_id
LEFT JOIN bm_file_info bfi ON bfi.model_id = mdq.ma_id and bfi.task_id = mdq.id
LEFT JOIN sys_user su ON mdq.create_by = su.user_id
WHERE
bfi.task_type = 17
AND bfi.file_type = 4
AND bfi.task_id = #{id}
AND bfi.model_id = #{maId}
<if test="qcCode != null and qcCode != ''">
and mdq.qc_code like concat('%',#{qcCode},'%')
</if>