Commit b490e7c94c5458546e50a612cbda3c8e675de5a2
1 parent
f769ddd4
* 초기화 시 조정유형 is null 만 가져오기
FROM
tbcr_transaction_history
WHERE
cons_group = #{sysSe}
and account_period = #{accnutYm}
and adjust_type is null
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/main/resources/mybatis/primaryMapper/MatchingInnerDelingMapper.xml
| @@ -324,6 +324,7 @@ | @@ -324,6 +324,7 @@ | ||
| 324 | WHERE | 324 | WHERE |
| 325 | cons_group = #{sysSe} | 325 | cons_group = #{sysSe} |
| 326 | and account_period = #{accnutYm} | 326 | and account_period = #{accnutYm} |
| 327 | + and adjust_type is null | ||
| 327 | </update> | 328 | </update> |
| 328 | 329 | ||
| 329 | <update id="deleteDataAi" parameterType="map"> | 330 | <update id="deleteDataAi" parameterType="map"> |
| @@ -371,6 +372,7 @@ | @@ -371,6 +372,7 @@ | ||
| 371 | WHERE | 372 | WHERE |
| 372 | cons_group = #{sysSe} | 373 | cons_group = #{sysSe} |
| 373 | and account_period = #{accnutYm} | 374 | and account_period = #{accnutYm} |
| 375 | + and adjust_type is null | ||
| 374 | </update> | 376 | </update> |
| 375 | 377 | ||
| 376 | <update id="updateClearNewMatchKey" parameterType="map"> | 378 | <update id="updateClearNewMatchKey" parameterType="map"> |