装备质检记录bug修改
This commit is contained in:
parent
63ec64e82a
commit
48d9ebf531
|
|
@ -239,6 +239,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
mt4.lease_price as dayLeasePrice,
|
mt4.lease_price as dayLeasePrice,
|
||||||
d.person as person,
|
d.person as person,
|
||||||
d.person_phone as personPhone,
|
d.person_phone as personPhone,
|
||||||
|
d.own_id as ownId,
|
||||||
d.own_co as companyId,
|
d.own_co as companyId,
|
||||||
sd.dept_name as companyName,
|
sd.dept_name as companyName,
|
||||||
c.operate_address as operateAddress,
|
c.operate_address as operateAddress,
|
||||||
|
|
|
||||||
|
|
@ -102,12 +102,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
bfi.url AS url
|
bfi.url AS url
|
||||||
FROM
|
FROM
|
||||||
ma_dev_qc mdq
|
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
|
LEFT JOIN sys_user su ON mdq.create_by = su.user_id
|
||||||
WHERE
|
WHERE
|
||||||
bfi.task_type = 17
|
bfi.task_type = 17
|
||||||
AND bfi.file_type = 4
|
AND bfi.file_type = 4
|
||||||
AND bfi.task_id = #{id}
|
AND bfi.model_id = #{maId}
|
||||||
<if test="qcCode != null and qcCode != ''">
|
<if test="qcCode != null and qcCode != ''">
|
||||||
and mdq.qc_code like concat('%',#{qcCode},'%')
|
and mdq.qc_code like concat('%',#{qcCode},'%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue