修复卡解绑接口,增加去重条件(去掉冗余无用重复数据)

This commit is contained in:
wenhui 2022-03-11 12:46:34 +08:00
parent 52be3c7f4c
commit 04aeeb1391
2 changed files with 4 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class CardList {
private String userAccount; private String userAccount;
/** /**
* 卡记录id * 初始化后的记录id
*/ */
@JsonProperty("cardRecordId") @JsonProperty("cardRecordId")
private Integer cardRecordId; private Integer cardRecordId;

View File

@ -224,7 +224,9 @@
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
from xhpc_ic_card_info from xhpc_ic_card_info
where t_iccard_info_id = #{id} where
t_iccard_info_id = #{id}
and del_flag = 0
</select> </select>
<select id="selectByAccount" resultType="java.util.Map"> <select id="selectByAccount" resultType="java.util.Map">
SELECT o.user_type, SELECT o.user_type,