java110
2021-12-28 983dad9b71abf62b17e7573dd4cc98d4cc2629db
优化支付方式
2个文件已修改
22 ■■■■■ 已修改文件
java110-bean/src/main/java/com/java110/dto/app/AppDto.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/app/AppDto.java
@@ -26,6 +26,7 @@
    private String appId;
    private String[] appIds;
    private String blackListIp;
    private String name;
    private String securityCode;
@@ -111,4 +112,12 @@
    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }
    public String[] getAppIds() {
        return appIds;
    }
    public void setAppIds(String[] appIds) {
        this.appIds = appIds;
    }
}
java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
@@ -87,6 +87,13 @@
        <if test="appId !=null and appId != ''">
            and t.app_id= #{appId}
        </if>
        <if test="appIds !=null ">
            and t.app_id in
            <foreach collection="appIds" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
        <if test="blackListIp !=null and blackListIp != ''">
            and t.black_list_ip= #{blackListIp}
        </if>
@@ -147,6 +154,12 @@
        <if test="appId !=null and appId != ''">
            and t.app_id= #{appId}
        </if>
        <if test="appIds !=null ">
            and t.app_id in
            <foreach collection="appIds" item="item" open="(" close=")" separator=",">
                #{item}
            </foreach>
        </if>
        <if test="blackListIp !=null and blackListIp != ''">
            and t.black_list_ip= #{blackListIp}
        </if>