java110
2023-08-31 4d7660d1602bf2d33f3a4343df59cc118f773239
优化代码权限
2个文件已修改
16 ■■■■■ 已修改文件
java110-bean/src/main/java/com/java110/dto/purchase/AllocationStorehouseDto.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/AllocationStorehouseServiceDaoImplMapper.xml 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/purchase/AllocationStorehouseDto.java
@@ -68,6 +68,7 @@
    private String isFixed;
    private String isFixedName;
    private String timesId;
    private String communityId;
    private List<ResourceStoreTimesDto> times;
@@ -424,4 +425,12 @@
    public void setTimes(List<ResourceStoreTimesDto> times) {
        this.times = times;
    }
    public String getCommunityId() {
        return communityId;
    }
    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }
}
java110-db/src/main/resources/mapper/store/AllocationStorehouseServiceDaoImplMapper.xml
@@ -151,6 +151,9 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and asa.community_id= #{communityId}
        </if>
        <if test="resId !=null and resId != ''">
            and t.res_id= #{resId}
        </if>
@@ -276,6 +279,10 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and asa.community_id= #{communityId}
        </if>
        <if test="resId !=null and resId != ''">
            and t.res_id= #{resId}
        </if>