Commit 6a06614e by liyanlin

fix

parent 26f9b637
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<include refid="checkCostListSearch"/> <include refid="checkCostListSearch"/>
</select> </select>
<!--需要我人事审核的--> <!--需要我审核的-->
<select id="generalManagerCheckCostList" resultType="com.blt.other.module.cost.model.CostDomain"> <select id="generalManagerCheckCostList" resultType="com.blt.other.module.cost.model.CostDomain">
select t1.* select t1.*
from cost t1 from cost t1
...@@ -378,15 +378,7 @@ ...@@ -378,15 +378,7 @@
</select> </select>
<select id="queryPageFor4k" resultType="com.blt.other.module.cost.model.CostDomain"> <select id="queryPageFor4k" resultType="com.blt.other.module.cost.model.CostDomain">
select select * from cost c where company_value in(54,58,67,72,85,86,87,78)
c.*
from
cost c
left join oa_user ou on
ou.oa_user_id = c.create_userid
where
ou.company_id in(18, 27, 32)
and c.source_from in(#{sourceFrom})
order by id desc order by id desc
</select> </select>
......
...@@ -23,9 +23,7 @@ ...@@ -23,9 +23,7 @@
<select id="queryPageFor4k" resultType="com.blt.other.database.model.CostLogDomain"> <select id="queryPageFor4k" resultType="com.blt.other.database.model.CostLogDomain">
select cl.* from cost_log cl select cl.* from cost_log cl
left join cost c on c.cost_no = cl.cost_no left join cost c on c.cost_no = cl.cost_no
left join oa_user ou on ou.oa_user_id = c.create_userid where c.company_value in(54,58,67,72,85,86,87,78)
where
ou.company_id in(18, 27, 32)
and c.source_from in(#{sourceFrom}) and c.source_from in(#{sourceFrom})
order by id desc order by id desc
</select> </select>
......
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