工作组查询优化
This commit is contained in:
+6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user