Commit baf726ea0c6b6baa34d1eb56b974e699e4244b17
1 parent
a0126ad4
bf
Showing
1 changed file
with
1 additions
and
1 deletions
bsthLineProfiles/src/main/resources/mybatis/mybatis/system/BsthTLineMapper.xml
| @@ -1320,7 +1320,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -1320,7 +1320,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 1320 | select b.*,e.examine_status from bsth_t_line b left join bsth_t_line_examine e | 1320 | select b.*,e.examine_status from bsth_t_line b left join bsth_t_line_examine e |
| 1321 | on b.line_name=e.line_name | 1321 | on b.line_name=e.line_name |
| 1322 | <where> | 1322 | <where> |
| 1323 | - <if test="lineName != null and lineName != ''"> b.line_name= #{lineName}</if> | 1323 | + <if test="lineName != null and lineName != ''"> and b.line_name like concat('%', #{lineName}, '%')</if> |
| 1324 | <if test="company != null and company != ''"> and b.company = #{company}</if> | 1324 | <if test="company != null and company != ''"> and b.company = #{company}</if> |
| 1325 | <if test="fCompany != null and fCompany != ''"> and b.f_company = #{fCompany}</if> | 1325 | <if test="fCompany != null and fCompany != ''"> and b.f_company = #{fCompany}</if> |
| 1326 | ${params.dataScope} | 1326 | ${params.dataScope} |