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,
|
||||
mt.type_name as typeName,
|
||||
mt.unit_name as unitName,
|
||||
lai.code as code,
|
||||
lpd.code as businessCode,
|
||||
lai.code as businessCode,
|
||||
lpd.code as code,
|
||||
lpd.lease_person AS leasePerson,
|
||||
tt.task_status as taskStatus,
|
||||
tt.create_time AS releaseTime,
|
||||
|
|
|
|||
|
|
@ -1526,9 +1526,9 @@
|
|||
</if>
|
||||
<if test="companyId != null and companyId !='' ">
|
||||
AND CASE
|
||||
WHEN (#{companyId} = 102 or #{companyId} = 327) THEN mt.company_id= 101
|
||||
WHEN #{companyId} = 309 THEN (mt.company_id=#{companyId}) or (mt.company_id=101 and mt.jiju_type=1)
|
||||
ELSE mt.type_id=-1
|
||||
WHEN (#{companyId} = 102 or #{companyId} = 327) THEN m.company_id= 101
|
||||
WHEN #{companyId} = 309 THEN (m.company_id=#{companyId}) or (m.company_id=101 and m.jiju_type=1)
|
||||
ELSE m.type_id=-1
|
||||
END
|
||||
</if>
|
||||
</where>
|
||||
|
|
|
|||
Loading…
Reference in New Issue