This commit is contained in:
parent
0231533530
commit
6fcbd94f11
|
|
@ -874,8 +874,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
mt1.type_name as typeModelName,
|
mt1.type_name as typeModelName,
|
||||||
mt.type_name as typeName,
|
mt.type_name as typeName,
|
||||||
mt.unit_name as unitName,
|
mt.unit_name as unitName,
|
||||||
lai.code as code,
|
lai.code as businessCode,
|
||||||
lpd.code as businessCode,
|
lpd.code as code,
|
||||||
lpd.lease_person AS leasePerson,
|
lpd.lease_person AS leasePerson,
|
||||||
tt.task_status as taskStatus,
|
tt.task_status as taskStatus,
|
||||||
tt.create_time AS releaseTime,
|
tt.create_time AS releaseTime,
|
||||||
|
|
|
||||||
|
|
@ -1526,9 +1526,9 @@
|
||||||
</if>
|
</if>
|
||||||
<if test="companyId != null and companyId !='' ">
|
<if test="companyId != null and companyId !='' ">
|
||||||
AND CASE
|
AND CASE
|
||||||
WHEN (#{companyId} = 102 or #{companyId} = 327) THEN mt.company_id= 101
|
WHEN (#{companyId} = 102 or #{companyId} = 327) THEN m.company_id= 101
|
||||||
WHEN #{companyId} = 309 THEN (mt.company_id=#{companyId}) or (mt.company_id=101 and mt.jiju_type=1)
|
WHEN #{companyId} = 309 THEN (m.company_id=#{companyId}) or (m.company_id=101 and m.jiju_type=1)
|
||||||
ELSE mt.type_id=-1
|
ELSE m.type_id=-1
|
||||||
END
|
END
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue