Commit 415842d2cc4882cb89c56757d544f79af9767641
1 parent
c982b168
20240408
Showing
1 changed file
with
12 additions
and
12 deletions
Show diff stats
src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml
| ... | ... | @@ -49,11 +49,11 @@ |
| 49 | 49 | and accnut_ym = #{accnutYm} |
| 50 | 50 | and mtch_ty is null |
| 51 | 51 | and dta_ty in ('12','22','32','34','36','38','42') |
| 52 | - <if test='cpr_code != null and !cpr_code.equals("")'> | |
| 53 | - and partn_cpr = #{partn_cpr} | |
| 54 | - </if> | |
| 55 | 52 | <if test='partn_cpr != null and !partn_cpr.equals("")'> |
| 56 | - and cpr_code = #{cpr_code} | |
| 53 | + and cpr_code = #{partn_cpr} | |
| 54 | + </if> | |
| 55 | + <if test='cpr_code != null and !cpr_code.equals("")'> | |
| 56 | + and partn_cpr = #{cpr_code} | |
| 57 | 57 | </if> |
| 58 | 58 | GROUP BY |
| 59 | 59 | sys_se |
| ... | ... | @@ -566,11 +566,11 @@ |
| 566 | 566 | and accnut_ym = #{accnutYm} |
| 567 | 567 | and mtch_ty is null |
| 568 | 568 | and dta_ty in ('12','22','32','34','36','38','42') |
| 569 | - <if test='cpr_code != null and !cpr_code.equals("")'> | |
| 570 | - and partn_cpr = #{partn_cpr} | |
| 571 | - </if> | |
| 572 | 569 | <if test='partn_cpr != null and !partn_cpr.equals("")'> |
| 573 | - and cpr_code = #{cpr_code} | |
| 570 | + and cpr_code = #{partn_cpr} | |
| 571 | + </if> | |
| 572 | + <if test='cpr_code != null and !cpr_code.equals("")'> | |
| 573 | + and partn_cpr = #{cpr_code} | |
| 574 | 574 | </if> |
| 575 | 575 | GROUP BY |
| 576 | 576 | sys_se |
| ... | ... | @@ -705,11 +705,11 @@ |
| 705 | 705 | and accnut_ym = #{accnutYm} |
| 706 | 706 | and mtch_ty = #{mtch_ty} |
| 707 | 707 | and dta_ty in ('12','22','32','34','36','38','42') |
| 708 | - <if test='cpr_code != null and !cpr_code.equals("")'> | |
| 709 | - and partn_cpr = #{partn_cpr} | |
| 710 | - </if> | |
| 711 | 708 | <if test='partn_cpr != null and !partn_cpr.equals("")'> |
| 712 | - and cpr_code = #{cpr_code} | |
| 709 | + and cpr_code = #{partn_cpr} | |
| 710 | + </if> | |
| 711 | + <if test='cpr_code != null and !cpr_code.equals("")'> | |
| 712 | + and partn_cpr = #{cpr_code} | |
| 713 | 713 | </if> |
| 714 | 714 | GROUP BY |
| 715 | 715 | sys_se | ... | ... |