工作组查询优化

This commit is contained in:
yuezhihang
2021-11-11 14:13:11 +08:00
parent 333143549f
commit b714156172
30 changed files with 361 additions and 74 deletions
@@ -6,4 +6,10 @@
<select id="researchDatas" resultType="com.adc.da.slrs.wgStandorpolicyInfo.entity.WgStandorpolicyInfo">
select * from wg_standorpolicy_info where wg_standorpolicy_info.wg_id = #{data}
</select>
<select id="researchAllDatas" resultType="com.adc.da.slrs.wgStandorpolicyInfo.entity.WgStandorpolicyInfo">
select * from wg_standorpolicy_info
left join wg_work_group on wg_work_group.id = wg_standorpolicy_info.wg_id
where wg_work_group.type = #{type}
</select>
</mapper>