src/main/resources/mapper/SOPMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/resources/mapper/SOPMapper.xml
@@ -22,10 +22,9 @@ </collection> </resultMap> <select id="getSopInfo" resultMap="sopList"> select *, tb_sop_product.id as sid from tb_sop LEFT JOIN tb_sop_product on tb_sop.id=tb_sop_product.sop_id select *,tb_sop_product.id as sid from tb_sop,tb_sop_product <where> 1=1 tb_sop.id=tb_sop_product.sop_id <if test="code!=null"> and code LIKE '%${code}%' </if>