1、优化采购管理物品增加二级分类 2、增加仓库是否对外开放 3、修复未绑定业主显示代码问题
52个文件已修改
1138 ■■■■■ 已修改文件
java110-bean/src/main/java/com/java110/dto/allocationStorehouse/AllocationStorehouseDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/allocationUserStorehouse/AllocationUserStorehouseDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/purchaseApply/PurchaseApplyDetailDto.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/purchaseApplyDetail/PurchaseApplyDetailDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/resourceStore/ResourceStoreDto.java 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/resourceStoreSpecification/ResourceStoreSpecificationDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/resourceStoreType/ResourceStoreTypeDto.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/resourceStoreUseRecord/ResourceStoreUseRecordDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/returnPayFee/ReturnPayFeeDto.java 119 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/storehouse/StorehouseDto.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/userStorehouse/UserStorehouseDto.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/po/purchase/ResourceStorePo.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/po/resourceStoreSpecification/ResourceStoreSpecificationPo.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/po/resourceStoreType/ResourceStoreTypePo.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/po/storehouse/StorehousePo.java 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/vo/api/purchaseApply/PurchaseApplyDetailVo.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/vo/api/purchaseApplyDetail/ApiPurchaseApplyDetailDataVo.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/vo/api/resourceStore/ApiResourceStoreDataVo.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/vo/api/returnPayFee/ApiReturnPayFeeDataVo.java 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/acct/AccountServiceDaoImplMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/fee/ReturnPayFeeServiceDaoImplMapper.xml 186 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/AllocationStorehouseServiceDaoImplMapper.xml 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/AllocationUserStorehouseServiceDaoImplMapper.xml 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/PurchaseApplyDetailServiceDaoImplMapper.xml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/PurchaseApplyServiceDaoImplMapper.xml 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/ResourceStoreServiceDaoImplMapper.xml 43 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/ResourceStoreSpecificationServiceDaoImplMapper.xml 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/ResourceStoreTypeServiceDaoImplMapper.xml 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/ResourceStoreUseRecordServiceDaoImplMapper.xml 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/StorehouseServiceDaoImplMapper.xml 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/store/UserStorehouseServiceDaoImplMapper.xml 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-interface/src/main/java/com/java110/intf/fee/IReturnPayFeeInnerServiceSMO.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-acct/src/main/java/com/java110/acct/bmo/account/impl/GetAccountBMOImpl.java 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/ownerRepair/RepairFinishListener.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/resourceStore/AuditAllocationStoreOrderListener.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/resourceStore/ListStorehousesListener.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/resourceStore/SaveResourceStoreListener.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/resourceStoreSpecification/SaveResourceStoreSpecificationListener.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/resourceStoreType/ListResourceStoreTypesListener.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/listener/returnPayFee/ListReturnPayFeesListener.java 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/smo/assetExport/impl/ExportReportFeeSMOImpl.java 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-api/src/main/java/com/java110/api/smo/wechatGateway/impl/WechatGatewaySMOImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-community/src/main/java/com/java110/community/api/RoomRenovationApi.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-fee/src/main/java/com/java110/fee/dao/IReturnPayFeeServiceDao.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-fee/src/main/java/com/java110/fee/dao/impl/ReturnPayFeeServiceDaoImpl.java 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-fee/src/main/java/com/java110/fee/smo/impl/ReturnPayFeeInnerServiceSMOImpl.java 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-store/src/main/java/com/java110/store/listener/resourceStore/AbstractResourceStoreBusinessServiceDataFlowListener.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-store/src/main/java/com/java110/store/listener/resourceStoreSpecification/AbstractResourceStoreSpecificationBusinessServiceDataFlowListener.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-store/src/main/java/com/java110/store/listener/resourceStoreType/AbstractResourceStoreTypeBusinessServiceDataFlowListener.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-store/src/main/java/com/java110/store/listener/storehouse/AbstractStorehouseBusinessServiceDataFlowListener.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-store/src/main/java/com/java110/store/smo/impl/ResourceStoreTypeInnerServiceSMOImpl.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-bean/src/main/java/com/java110/dto/allocationStorehouse/AllocationStorehouseDto.java
@@ -42,8 +42,10 @@
    private String price;
    private String originalStock;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String rstId;
    private String parentRstId;
    private String rssId;
    private String statusCd = "0";
@@ -366,4 +368,20 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/dto/allocationUserStorehouse/AllocationUserStorehouseDto.java
@@ -29,8 +29,10 @@
    private String statusCd = "0";
    private String giveQuantity;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String rstId;
    private String parentRstId;
    private String rssId;
    //转赠总数量(小计)
    private String subTotalQuantity;
@@ -208,4 +210,20 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/dto/purchaseApply/PurchaseApplyDetailDto.java
@@ -18,6 +18,7 @@
    private String purchasePrice;
    private String id;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String standardPrice;
    private String originalStock;
@@ -184,6 +185,14 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
}
java110-bean/src/main/java/com/java110/dto/purchaseApplyDetail/PurchaseApplyDetailDto.java
@@ -41,8 +41,10 @@
    private String rsId;
    private String supplierName;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String rstId;
    private String parentRstId;
    private String rssId;
    private String storeId;
    private String shId;
@@ -337,4 +339,20 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/dto/resourceStore/ResourceStoreDto.java
@@ -66,6 +66,10 @@
    private String miniUnitStock;
    //最小计量总数
    private String miniStock;
    private String parentRstId;
    private String parentRstName;
    //仓库是否对外开放 true是 false否
    private String isShow;
    public String getResName() {
        return resName;
@@ -347,4 +351,28 @@
    public void setMiniStock(String miniStock) {
        this.miniStock = miniStock;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
    public String getIsShow() {
        return isShow;
    }
    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }
}
java110-bean/src/main/java/com/java110/dto/resourceStoreSpecification/ResourceStoreSpecificationDto.java
@@ -17,10 +17,12 @@
    private String rssId;
    private String rstId;
    private String parentRstId;
    private String specName;
    private String description;
    private String storeId;
    private String rstName;
    private String parentRstName;
    private Date createTime;
@@ -92,4 +94,20 @@
    public void setRstName(String rstName) {
        this.rstName = rstName;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
}
java110-bean/src/main/java/com/java110/dto/resourceStoreType/ResourceStoreTypeDto.java
@@ -21,6 +21,7 @@
    private String storeId;
    private Date createTime;
    private String statusCd = "0";
    private String parentId = "0"; //父级id,默认为0
    public String getRstId() {
        return rstId;
@@ -69,4 +70,12 @@
    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }
    public String getParentId() {
        return parentId;
    }
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
java110-bean/src/main/java/com/java110/dto/resourceStoreUseRecord/ResourceStoreUseRecordDto.java
@@ -28,8 +28,10 @@
    private String resName;
    private Date createTime;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String rstId;
    private String parentRstId;
    private String rssId;
    private String resourceStoreName;
    private String startTime;
@@ -214,4 +216,20 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/dto/returnPayFee/ReturnPayFeeDto.java
@@ -37,6 +37,21 @@
    private String feeTypeCdName;
    private String stateName;
    private String roomId;
    private String roomNum;
    private String unitId;
    private String unitNum;
    private String floorId;
    private String floorNum;
    private String carId;
    private String carNum;
    private String psId;
    private String psNum;
    private String paId;
    private String paNum;
    private String payerObjType;
    public String getReason() {
        return reason;
@@ -182,4 +197,108 @@
    public void setStateName(String stateName) {
        this.stateName = stateName;
    }
    public String getRoomId() {
        return roomId;
    }
    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }
    public String getRoomNum() {
        return roomNum;
    }
    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }
    public String getUnitId() {
        return unitId;
    }
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    public String getUnitNum() {
        return unitNum;
    }
    public void setUnitNum(String unitNum) {
        this.unitNum = unitNum;
    }
    public String getFloorId() {
        return floorId;
    }
    public void setFloorId(String floorId) {
        this.floorId = floorId;
    }
    public String getFloorNum() {
        return floorNum;
    }
    public void setFloorNum(String floorNum) {
        this.floorNum = floorNum;
    }
    public String getCarId() {
        return carId;
    }
    public void setCarId(String carId) {
        this.carId = carId;
    }
    public String getCarNum() {
        return carNum;
    }
    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }
    public String getPsId() {
        return psId;
    }
    public void setPsId(String psId) {
        this.psId = psId;
    }
    public String getPsNum() {
        return psNum;
    }
    public void setPsNum(String psNum) {
        this.psNum = psNum;
    }
    public String getPaId() {
        return paId;
    }
    public void setPaId(String paId) {
        this.paId = paId;
    }
    public String getPaNum() {
        return paNum;
    }
    public void setPaNum(String paNum) {
        this.paNum = paNum;
    }
    public String getPayerObjType() {
        return payerObjType;
    }
    public void setPayerObjType(String payerObjType) {
        this.payerObjType = payerObjType;
    }
}
java110-bean/src/main/java/com/java110/dto/storehouse/StorehouseDto.java
@@ -25,6 +25,7 @@
    private String shId;
    private String shName;
    private String storeId;
    private String isShow;
    private Date createTime;
@@ -101,4 +102,12 @@
    public void setShObjIds(String[] shObjIds) {
        this.shObjIds = shObjIds;
    }
    public String getIsShow() {
        return isShow;
    }
    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }
}
java110-bean/src/main/java/com/java110/dto/userStorehouse/UserStorehouseDto.java
@@ -23,9 +23,11 @@
    private String usId;
    private String resCode;
    private String rstId;
    private String parentRstId;
    private String outLowPrice;
    private String outHighPrice;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String rssId;
    private String unitCode;
@@ -214,4 +216,20 @@
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/po/purchase/ResourceStorePo.java
@@ -36,6 +36,7 @@
    private String purchasePrice;
    private String resOrderType;
    private String rstId;
    private String parentRstId;
    private String rstName;
    private String rssId;
    private String rssName;
@@ -286,4 +287,12 @@
    public void setMiniStock(String miniStock) {
        this.miniStock = miniStock;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/po/resourceStoreSpecification/ResourceStoreSpecificationPo.java
@@ -6,6 +6,7 @@
    private String rssId;
    private String rstId;
    private String parentRstId;
    private String specName;
    private String description;
    private String storeId;
@@ -50,5 +51,11 @@
        this.storeId = storeId;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
}
java110-bean/src/main/java/com/java110/po/resourceStoreType/ResourceStoreTypePo.java
@@ -11,6 +11,7 @@
    private String storeId;
    private String createTime;
    private String statusCd = "0";
    private String parentId = "0"; //父级id,默认为0
    public String getRstId() {
        return rstId;
@@ -59,4 +60,12 @@
    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }
    public String getParentId() {
        return parentId;
    }
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
java110-bean/src/main/java/com/java110/po/storehouse/StorehousePo.java
@@ -6,48 +6,66 @@
public class StorehousePo implements Serializable {
    private String shDesc;
private String shType;
private String shObjId;
private String shId;
private String shName;
private String storeId;
public String getShDesc() {
    private String shType;
    private String shObjId;
    private String shId;
    private String shName;
    private String storeId;
    private String isShow;
    public String getShDesc() {
        return shDesc;
    }
public void setShDesc(String shDesc) {
    public void setShDesc(String shDesc) {
        this.shDesc = shDesc;
    }
public String getShType() {
    public String getShType() {
        return shType;
    }
public void setShType(String shType) {
    public void setShType(String shType) {
        this.shType = shType;
    }
public String getShObjId() {
    public String getShObjId() {
        return shObjId;
    }
public void setShObjId(String shObjId) {
    public void setShObjId(String shObjId) {
        this.shObjId = shObjId;
    }
public String getShId() {
    public String getShId() {
        return shId;
    }
public void setShId(String shId) {
    public void setShId(String shId) {
        this.shId = shId;
    }
public String getShName() {
    public String getShName() {
        return shName;
    }
public void setShName(String shName) {
    public void setShName(String shName) {
        this.shName = shName;
    }
public String getStoreId() {
    public String getStoreId() {
        return storeId;
    }
public void setStoreId(String storeId) {
    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }
    public String getIsShow() {
        return isShow;
    }
    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }
}
java110-bean/src/main/java/com/java110/vo/api/purchaseApply/PurchaseApplyDetailVo.java
@@ -23,6 +23,7 @@
    private String purchaseRemark;
    private String purchasePrice;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String standardPrice;
    private String originalStock;
@@ -239,6 +240,14 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
}
java110-bean/src/main/java/com/java110/vo/api/purchaseApplyDetail/ApiPurchaseApplyDetailDataVo.java
@@ -33,6 +33,7 @@
    private String rsId;
    private String supplierName;
    private String rstName;
    private String parentRstName;
    private String specName;
    private String shId;
    private String shName;
@@ -318,4 +319,12 @@
    public void setMiniUnitCodeName(String miniUnitCodeName) {
        this.miniUnitCodeName = miniUnitCodeName;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
}
java110-bean/src/main/java/com/java110/vo/api/resourceStore/ApiResourceStoreDataVo.java
@@ -52,6 +52,8 @@
    private String miniUnitStock;
    //最小计量总数
    private String miniStock;
    private String parentRstId;
    private String parentRstName;
    public String getResId() {
        return resId;
@@ -292,4 +294,20 @@
    public void setShType(String shType) {
        this.shType = shType;
    }
    public String getParentRstId() {
        return parentRstId;
    }
    public void setParentRstId(String parentRstId) {
        this.parentRstId = parentRstId;
    }
    public String getParentRstName() {
        return parentRstName;
    }
    public void setParentRstName(String parentRstName) {
        this.parentRstName = parentRstName;
    }
}
java110-bean/src/main/java/com/java110/vo/api/returnPayFee/ApiReturnPayFeeDataVo.java
@@ -1,7 +1,6 @@
package com.java110.vo.api.returnPayFee;
import java.io.Serializable;
import java.util.Date;
public class ApiReturnPayFeeDataVo implements Serializable {
@@ -25,6 +24,22 @@
    private String feeTypeCdName;
    private String stateName;
    private String createTime;
    private String roomId;
    private String roomNum;
    private String unitId;
    private String unitNum;
    private String floorId;
    private String floorNum;
    private String carId;
    private String carNum;
    private String psId;
    private String psNum;
    private String paId;
    private String paNum;
    private String payerObjType;
    public String getReason() {
        return reason;
@@ -185,4 +200,116 @@
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getbId() {
        return bId;
    }
    public void setbId(String bId) {
        this.bId = bId;
    }
    public String getRoomId() {
        return roomId;
    }
    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }
    public String getRoomNum() {
        return roomNum;
    }
    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }
    public String getUnitId() {
        return unitId;
    }
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    public String getUnitNum() {
        return unitNum;
    }
    public void setUnitNum(String unitNum) {
        this.unitNum = unitNum;
    }
    public String getFloorId() {
        return floorId;
    }
    public void setFloorId(String floorId) {
        this.floorId = floorId;
    }
    public String getFloorNum() {
        return floorNum;
    }
    public void setFloorNum(String floorNum) {
        this.floorNum = floorNum;
    }
    public String getCarId() {
        return carId;
    }
    public void setCarId(String carId) {
        this.carId = carId;
    }
    public String getCarNum() {
        return carNum;
    }
    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }
    public String getPsId() {
        return psId;
    }
    public void setPsId(String psId) {
        this.psId = psId;
    }
    public String getPsNum() {
        return psNum;
    }
    public void setPsNum(String psNum) {
        this.psNum = psNum;
    }
    public String getPaId() {
        return paId;
    }
    public void setPaId(String paId) {
        this.paId = paId;
    }
    public String getPaNum() {
        return paNum;
    }
    public void setPaNum(String paNum) {
        this.paNum = paNum;
    }
    public String getPayerObjType() {
        return payerObjType;
    }
    public void setPayerObjType(String payerObjType) {
        this.payerObjType = payerObjType;
    }
}
java110-db/src/main/resources/mapper/acct/AccountServiceDaoImplMapper.xml
@@ -184,7 +184,6 @@
        <if test="hasMoney !=null and hasMoney != ''">
            and t.amount > 0
        </if>
        <if test="acctType !=null and acctType != ''">
            and t.acct_type= #{acctType}
        </if>
@@ -209,8 +208,6 @@
        <if test="partId !=null and partId != ''">
            and t.part_id= #{partId}
        </if>
    </select>
java110-db/src/main/resources/mapper/fee/ReturnPayFeeServiceDaoImplMapper.xml
@@ -170,12 +170,13 @@
        t.community_id,t.community_id communityId,
        t.create_time,t.create_time createTime,
        d.name feeTypeCdName,
        c.name stateName
        c.name stateName,
        pf.payer_obj_type payerObjType
        from return_pay_fee t
        inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
        inner join t_dict d on t.fee_type_cd = d.status_cd and d.table_name = 'pay_fee_config' and d.table_columns = 'fee_type_cd'
        inner join t_dict c on t.state = c.status_cd and c.table_name = 'return_pay_fee' and c.table_columns = 'state'
        where 1 =1
        where 1 = 1
        <if test="reason !=null and reason != ''">
            and t.reason= #{reason}
        </if>
@@ -228,7 +229,188 @@
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
    </select>
    <!-- 查询退费表信息 add by wuxw 2018-07-03 -->
    <select id="getRoomReturnPayFeeInfo" parameterType="Map" resultType="Map">
        select
        t.reason,
        t.prime_rate,t.prime_rate primeRate,
        t.fee_type_cd,t.fee_type_cd feeTypeCd,
        t.pay_time,t.pay_time payTime,
        t.detail_id,t.detail_id detailId,
        t.receivable_amount,t.receivable_amount receivableAmount,
        t.cycles,
        t.remark,
        t.status_cd,t.status_cd statusCd,
        t.received_amount,t.received_amount receivedAmount,
        t.fee_id,t.fee_id feeId,
        t.return_fee_id,t.return_fee_id returnFeeId,
        t.config_id,t.config_id configId,
        t.state,
        t.b_id,t.b_id bId,
        t.community_id,t.community_id communityId,
        t.create_time,t.create_time createTime,
        d.name feeTypeCdName,
        c.name stateName,
        pf.payer_obj_type payerObjType,
        br.room_id roomId,
        br.room_num roomNum,
        bu.unit_id unitId,
        bu.unit_num unitNum,
        fl.floor_id floorId,
        fl.floor_num floorNum
        from return_pay_fee t
        inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
        inner join t_dict d on t.fee_type_cd = d.status_cd and d.table_name = 'pay_fee_config' and d.table_columns = 'fee_type_cd'
        inner join t_dict c on t.state = c.status_cd and c.table_name = 'return_pay_fee' and c.table_columns = 'state'
        left join building_room br on pf.payer_obj_id = br.room_id and br.status_cd = '0'
        left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
        left join f_floor fl on fl.floor_id = bu.floor_id and bu.status_cd = '0'
        where 1 = 1
        <if test="reason !=null and reason != ''">
            and t.reason= #{reason}
        </if>
        <if test="primeRate !=null and primeRate != ''">
            and t.prime_rate= #{primeRate}
        </if>
        <if test="feeTypeCd !=null and feeTypeCd != ''">
            and t.fee_type_cd= #{feeTypeCd}
        </if>
        <if test="payTime !=null and payTime != ''">
            and t.pay_time= #{payTime}
        </if>
        <if test="detailId !=null and detailId != ''">
            and t.detail_id= #{detailId}
        </if>
        <if test="receivableAmount !=null and receivableAmount != ''">
            and t.receivable_amount= #{receivableAmount}
        </if>
        <if test="cycles !=null and cycles != ''">
            and t.cycles= #{cycles}
        </if>
        <if test="remark !=null and remark != ''">
            and t.remark= #{remark}
        </if>
        <if test="statusCd !=null and statusCd != ''">
            and t.status_cd= #{statusCd}
        </if>
        <if test="receivedAmount !=null and receivedAmount != ''">
            and t.received_amount= #{receivedAmount}
        </if>
        <if test="feeId !=null and feeId != ''">
            and t.fee_id= #{feeId}
        </if>
        <if test="returnFeeId !=null and returnFeeId != ''">
            and t.return_fee_id= #{returnFeeId}
        </if>
        <if test="configId !=null and configId != ''">
            and t.config_id= #{configId}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
    </select>
    <!-- 查询退费表信息 add by wuxw 2018-07-03 -->
    <select id="getCarReturnPayFeeInfo" parameterType="Map" resultType="Map">
        select
        t.reason,
        t.prime_rate,t.prime_rate primeRate,
        t.fee_type_cd,t.fee_type_cd feeTypeCd,
        t.pay_time,t.pay_time payTime,
        t.detail_id,t.detail_id detailId,
        t.receivable_amount,t.receivable_amount receivableAmount,
        t.cycles,
        t.remark,
        t.status_cd,t.status_cd statusCd,
        t.received_amount,t.received_amount receivedAmount,
        t.fee_id,t.fee_id feeId,
        t.return_fee_id,t.return_fee_id returnFeeId,
        t.config_id,t.config_id configId,
        t.state,
        t.b_id,t.b_id bId,
        t.community_id,t.community_id communityId,
        t.create_time,t.create_time createTime,
        d.name feeTypeCdName,
        c.name stateName,
        pf.payer_obj_type payerObjType,
        oc.car_id carId,
        oc.car_num carNum,
        ps.ps_id psId,
        ps.num psNum,
        pa.pa_id paId,
        pa.num paNum
        from return_pay_fee t
        inner join pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
        inner join t_dict d on t.fee_type_cd = d.status_cd and d.table_name = 'pay_fee_config' and d.table_columns = 'fee_type_cd'
        inner join t_dict c on t.state = c.status_cd and c.table_name = 'return_pay_fee' and c.table_columns = 'state'
        left join owner_car oc on pf.payer_obj_id = oc.car_id
        left join parking_space ps on oc.ps_id = ps.ps_id and ps.status_cd = '0'
        left join parking_area pa on pa.pa_id = ps.pa_id and pa.status_cd = '0'
        where 1 = 1
        <if test="reason !=null and reason != ''">
            and t.reason= #{reason}
        </if>
        <if test="primeRate !=null and primeRate != ''">
            and t.prime_rate= #{primeRate}
        </if>
        <if test="feeTypeCd !=null and feeTypeCd != ''">
            and t.fee_type_cd= #{feeTypeCd}
        </if>
        <if test="payTime !=null and payTime != ''">
            and t.pay_time= #{payTime}
        </if>
        <if test="detailId !=null and detailId != ''">
            and t.detail_id= #{detailId}
        </if>
        <if test="receivableAmount !=null and receivableAmount != ''">
            and t.receivable_amount= #{receivableAmount}
        </if>
        <if test="cycles !=null and cycles != ''">
            and t.cycles= #{cycles}
        </if>
        <if test="remark !=null and remark != ''">
            and t.remark= #{remark}
        </if>
        <if test="statusCd !=null and statusCd != ''">
            and t.status_cd= #{statusCd}
        </if>
        <if test="receivedAmount !=null and receivedAmount != ''">
            and t.received_amount= #{receivedAmount}
        </if>
        <if test="feeId !=null and feeId != ''">
            and t.fee_id= #{feeId}
        </if>
        <if test="returnFeeId !=null and returnFeeId != ''">
            and t.return_fee_id= #{returnFeeId}
        </if>
        <if test="configId !=null and configId != ''">
            and t.config_id= #{configId}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
    </select>
java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml
@@ -1066,7 +1066,7 @@
        left join building_room br on pf.payer_obj_id = br.room_id and pf.payer_obj_type = '3333' and br.status_cd = '0'
        left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
        left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
        left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
        left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.car_type_cd='1001'
        left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
        left join pay_fee_detail_discount pfdd on t.detail_id = pfdd.detail_id and pfdd.status_cd = '0'
        left join fee_discount fd on pfdd.discount_id = fd.discount_id and fd.status_cd = '0'
@@ -1137,14 +1137,14 @@
        importFeeName,t.prime_rate,d.name primeRate,fdr.discount_small_type discountSmallType,fdr.rule_name
        ruleName,pfdd.discount_price discountPrice,co.contract_code contractCode,pfo.`value` ownerName,cb.o_id oId,
        d2.name feeTypeCdName,pfc.fee_type_cd feeTypeCd,t.state,d3.name stateName,t.fee_id feeId,pft.`value` repairId,
        t.detail_id,t.detail_id detailId
        t.detail_id,t.detail_id detailId,pf.payer_obj_id
        from pay_fee_detail t
        INNER JOIN pay_fee pf on t.fee_id = pf.fee_id and pf.status_cd = '0'
        inner join pay_fee_config pfc on pf.config_id = pfc.config_id and pfc.status_cd = '0'
        left join building_room br on pf.payer_obj_id = br.room_id and pf.payer_obj_type = '3333' and br.status_cd = '0'
        left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
        left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
        left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
        left join owner_car oc on pf.payer_obj_id = oc.car_id and oc.car_type_cd='1001'
        left join pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002'
        left join pay_fee_attrs pfo on t.fee_id = pfo.fee_id and pfo.spec_cd = '390008'
        left join pay_fee_attrs pft on t.fee_id = pft.fee_id and pft.spec_cd = '390001'
@@ -1875,7 +1875,7 @@
        left join building_room br on t.payer_obj_id = br.room_id and t.payer_obj_type = '3333' and br.status_cd = '0'
        left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
        left join f_floor f on bu.floor_id = f.floor_id and f.status_cd = '0'
        left join owner_car oc on t.payer_obj_id = oc.car_id and oc.status_cd = '0' and oc.car_type_cd='1001'
        left join owner_car oc on t.payer_obj_id = oc.car_id and oc.car_type_cd='1001'
        where 1 = 1
        <if test="roomNum !=null and roomNum != ''">
            and br.room_num= #{roomNum}
java110-db/src/main/resources/mapper/store/AllocationStorehouseServiceDaoImplMapper.xml
@@ -116,7 +116,7 @@
        resId,t.sh_id_z,t.sh_id_z shIdz,t.res_name,t.res_name resName,t.start_user_id,t.start_user_id
        startUserId,t.sh_id_a,t.sh_id_a shIda,t.start_user_name,t.start_user_name startUserName,asa.state,t.b_id,t.b_id
        bId,t.stock,t.original_stock,t.original_stock originalStock,t.remark,t.create_time createTime,td.name stateName,a.sh_name shaName,z.sh_name shzName,
        rs.res_code,rs.res_code resCode,t.apply_id,t.apply_id applyId,rst.name rstName,rss.spec_name specName,asa.apply_type,asa.apply_type applyType,td1.name applyTypeName,td2.name unitCodeName,td3.name miniUnitCodeName
        rs.res_code,rs.res_code resCode,t.apply_id,t.apply_id applyId,rst.name rstName,rst1.name parentRstName,rss.spec_name specName,asa.apply_type,asa.apply_type applyType,td1.name applyTypeName,td2.name unitCodeName,td3.name miniUnitCodeName
        from allocation_storehouse t
        left join allocation_storehouse_apply asa on asa.apply_id = t.apply_id and asa.status_cd = '0'
        left join t_dict td on asa.state = td.status_cd and td.table_name = 'allocation_storehouse_apply' and td.table_columns = 'state'
@@ -127,6 +127,7 @@
        left join t_dict td2 on rs.unit_code = td2.status_cd and td2.table_name = 'resource_store' and td2.table_columns = 'unit_code'
        left join t_dict td3 on rs.mini_unit_code = td3.status_cd and td3.table_name = 'resource_store' and td3.table_columns = 'unit_code'
        left join resource_store_type rst on rs.rst_id = rst.rst_id and rst.status_cd = '0'
        left join resource_store_type rst1 on rs.parent_rst_id = rst1.rst_id and rst1.status_cd = '0'
        left join resource_store_specification rss on rs.rss_id = rss.rss_id and rss.status_cd = '0'
        where 1 = 1
        <if test="asId !=null and asId != ''">
@@ -182,6 +183,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
@@ -248,6 +252,7 @@
        left join storehouse z on t.sh_id_z = z.sh_id and z.store_id = t.store_id and z.status_cd = '0'
        left join resource_store rs on t.res_id = rs.res_id and rs.status_cd = '0'
        left join resource_store_type rst on rs.rst_id = rst.rst_id and rst.status_cd = '0'
        left join resource_store_type rst1 on rs.parent_rst_id = rst1.rst_id and rst1.status_cd = '0'
        left join resource_store_specification rss on rs.rss_id = rss.rss_id and rss.status_cd = '0'
        where 1 = 1
        <if test="asId !=null and asId != ''">
@@ -304,6 +309,9 @@
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
        </if>
java110-db/src/main/resources/mapper/store/AllocationUserStorehouseServiceDaoImplMapper.xml
@@ -119,10 +119,11 @@
        resId,t.res_name,t.res_name resName,t.start_user_id,t.start_user_id startUserId,t.start_user_name,
        t.start_user_name startUserName,t.aus_id,t.aus_id ausId,t.b_id,t.b_id
        bId,t.stock,t.give_quantity,t.give_quantity giveQuantity,t.create_time createTime,rst.name rstName,rss.spec_name
        specName,td1.name unitCodeName,td2.name miniUnitCodeName
        specName,td1.name unitCodeName,td2.name miniUnitCodeName,rst1.name parentRstName
        from allocation_user_storehouse t
        left join resource_store rs on t.res_id = rs.res_id and rs.status_cd = '0'
        left join resource_store_type rst on rs.rst_id = rst.rst_id and rst.status_cd = '0'
        left join resource_store_type rst1 on rs.parent_rst_id = rst1.rst_id and rst1.status_cd = '0'
        left join resource_store_specification rss on rs.rss_id=rss.rss_id and rss.status_cd = '0'
        left join t_dict td1 on rs.unit_code = td1.status_cd and td1.table_name = 'resource_store' and td1.table_columns = 'unit_code'
        left join t_dict td2 on rs.mini_unit_code = td2.status_cd and td2.table_name = 'resource_store' and td2.table_columns = 'unit_code'
@@ -168,6 +169,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
@@ -276,6 +280,9 @@
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
        </if>
java110-db/src/main/resources/mapper/store/PurchaseApplyDetailServiceDaoImplMapper.xml
@@ -81,6 +81,7 @@
        td2.name stateName,
        td3.name warehousingWayName,
        rst.name rstName,
        rst1.name parentRstName,
        rss.spec_name specName,
        rs.sh_id shId,
        td4.name unitCodeName,
@@ -100,6 +101,7 @@
        left join t_dict td3 on pa.warehousing_way = td3.status_cd and td3.table_name = 'purchase_apply' and
        td3.table_columns = 'warehousing_way'
        LEFT JOIN resource_store_type rst on rs.rst_id=rst.rst_id and rst.status_cd = '0'
        LEFT JOIN resource_store_type rst1 on rs.parent_rst_id=rst1.rst_id and rst1.status_cd = '0'
        LEFT JOIN resource_store_specification rss on rs.rss_id=rss.rss_id and rss.status_cd = '0'
        where 1 = 1
        <if test="applyOrderId !=null and applyOrderId != ''">
@@ -173,6 +175,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="supplierName !=null and supplierName != ''">
            and rsp.supplier_name= #{supplierName}
@@ -242,6 +247,7 @@
        left join t_dict td3 on pa.warehousing_way = td3.status_cd and td3.table_name = 'purchase_apply' and
        td3.table_columns = 'warehousing_way'
        LEFT JOIN resource_store_type rst on rs.rst_id=rst.rst_id and rst.status_cd = '0'
        LEFT JOIN resource_store_type rst1 on rs.parent_rst_id=rst1.rst_id and rst1.status_cd = '0'
        LEFT JOIN resource_store_specification rss on rs.rss_id=rss.rss_id and rss.status_cd = '0'
        where 1 = 1
        <if test="applyOrderId !=null and applyOrderId != ''">
@@ -319,6 +325,9 @@
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="startTime !=null and startTime != ''">
            and pa.create_time &gt;= #{startTime}
        </if>
java110-db/src/main/resources/mapper/store/PurchaseApplyServiceDaoImplMapper.xml
@@ -326,7 +326,7 @@
        p.res_id resId,p.quantity,p.remark,p.purchase_quantity purchaseQuantity,p.purchase_remark purchaseRemark,p.price
        purchasePrice,p.original_stock originalStock,
        r.res_name resName,r.res_code resCode,
        r.price,r.price standardPrice,r.stock,rst.name rstName,rss.spec_name specName,rs.supplier_name supplierName,
        r.price,r.price standardPrice,r.stock,rst.name rstName,rst1.name parentRstName,rss.spec_name specName,rs.supplier_name supplierName,
        td1.name unitCodeName,
        td2.name miniUnitCodeName
        from
@@ -336,6 +336,7 @@
        left join t_dict td2 on r.mini_unit_code = td2.status_cd and td2.table_name = 'resource_store' and td2.table_columns = 'unit_code'
        LEFT JOIN resource_supplier rs on p.rs_id=rs.rs_id
        LEFT JOIN resource_store_type rst on r.rst_id=rst.rst_id
        LEFT JOIN resource_store_type rst1 on r.parent_rst_id=rst1.rst_id
        LEFT JOIN resource_store_specification rss on r.rss_id=rss.rss_id
        where 1=1
        and p.status_cd = '0'
java110-db/src/main/resources/mapper/store/ResourceStoreServiceDaoImplMapper.xml
@@ -9,11 +9,11 @@
        insert into business_resource_store(
        res_name,operate,price,res_code,description,store_id,stock,warning_stock,b_id,res_id,
        unit_code,remark,out_low_price,out_high_price,show_mobile,create_time,sh_id,average_price,rst_id,rss_id,
        mini_unit_code,mini_unit_stock,mini_stock
        mini_unit_code,mini_unit_stock,mini_stock,parent_rst_id
        ) values (
        #{resName},#{operate},#{price},#{resCode},#{description},#{storeId},#{stock},#{warningStock},#{bId},#{resId},
        #{unitCode},#{remark},#{outLowPrice},#{outHighPrice},#{showMobile},#{createTime},#{shId},
        #{averagePrice},#{rstId},#{rssId},#{miniUnitCode},#{miniUnitStock},#{miniStock}
        #{averagePrice},#{rstId},#{rssId},#{miniUnitCode},#{miniUnitStock},#{miniStock},#{parentRstId}
        )
    </insert>
@@ -21,11 +21,11 @@
    <insert id="saveResourceStoreInfo" parameterType="Map">
        insert into resource_store(
        res_id,b_id,store_id,res_name,res_code,unit_code,remark,out_low_price,out_high_price,show_mobile,description,
        price,stock,create_time,sh_id,warning_stock,average_price,rss_id,rst_id,mini_unit_code,mini_unit_stock,mini_stock
        price,stock,create_time,sh_id,warning_stock,average_price,rss_id,rst_id,mini_unit_code,mini_unit_stock,mini_stock,parent_rst_id
        ) values (
        #{resId},#{bId},#{storeId},#{resName},#{resCode},#{unitCode},#{remark},#{outLowPrice},#{outHighPrice},
        #{showMobile},#{description},#{price},#{stock},#{createTime},#{shId},#{warningStock},
        #{averagePrice},#{rssId},#{rstId},#{miniUnitCode},#{miniUnitStock},#{miniStock}
        #{averagePrice},#{rssId},#{rstId},#{miniUnitCode},#{miniUnitStock},#{miniStock},#{parentRstId}}
        )
    </insert>
@@ -38,7 +38,7 @@
        t.out_high_price,t.out_high_price outHighPrice,t.show_mobile,t.show_mobile showMobile,
        t.create_time,t.create_time createTime,t.sh_id,t.sh_id shId,t.mini_unit_code,t.mini_unit_code miniUnitCode,
        t.mini_unit_stock,t.mini_unit_stock miniUnitStock,t.average_price,t.average_price averagePrice,t.mini_stock,
        t.mini_stock miniStock
        t.mini_stock miniStock,t.parent_rst_id,t.parent_rst_id parentRstId
        from business_resource_store t
        where 1 =1
        <if test="resName !=null and resName != ''">
@@ -55,6 +55,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and t.rss_id= #{rssId}
@@ -114,11 +117,11 @@
        insert into resource_store(
        res_name,price,res_code,description,status_cd,store_id,stock,warning_stock,b_id,res_id,unit_code,remark,
        out_low_price,out_high_price,show_mobile,create_time,sh_id,average_price,rst_id,rss_id,mini_unit_code,mini_unit_stock,
        mini_stock
        mini_stock,parent_rst_id
        ) select
        t.res_name,t.price,t.res_code,t.description,'0',t.store_id,t.stock,t.warning_stock,t.b_id,t.res_id,
        t.unit_code,t.remark,t.out_low_price,t.out_high_price,t.show_mobile,t.create_time,t.sh_id,t.average_price,t.rst_id,t.rss_id,
        t.mini_unit_code,t.mini_unit_stock,t.mini_stock
        t.mini_unit_code,t.mini_unit_stock,t.mini_stock,t.parent_rst_id
        from business_resource_store t where 1=1
        <if test="resName !=null and resName != ''">
            and t.res_name= #{resName}
@@ -132,6 +135,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and t.rss_id= #{rssId}
@@ -190,14 +196,16 @@
    <select id="getResourceStoreInfo" parameterType="Map" resultType="Map">
        select t.res_name,t.res_name resName,t.price,t.res_code,t.res_code resCode,t.description,t.status_cd,t.status_cd
        statusCd,t.store_id,t.store_id storeId,t.stock,t.warning_stock,t.warning_stock warningStock,t.b_id,t.b_id
        bId,t.res_id,t.res_id resId,t.out_low_price,t.rst_id,t.rst_id rstId,t.rss_id,t.rss_id rssId,
        t.out_low_price outLowPrice,rst.name rstName,t.out_high_price,t.out_high_price outHighPrice,
        bId,t.res_id,t.res_id resId,t.out_low_price,t.rss_id,t.rss_id rssId,
        t.out_low_price outLowPrice,t.out_high_price,t.out_high_price outHighPrice,
        t.unit_code,t.unit_code unitCode,t.remark,t.show_mobile,t.show_mobile showMobile,
        t.create_time,t.create_time createTime,t.sh_id,t.sh_id shId,sh.sh_name shName,t.average_price,t.average_price
        averagePrice,rss.spec_name rssName,t.mini_unit_code,t.mini_unit_code miniUnitCode,t.mini_stock,t.mini_stock
        miniStock,t.mini_unit_stock,t.mini_unit_stock miniUnitStock,td.name unitCodeName,td1.name miniUnitCodeName,sh.sh_type shType
        miniStock,t.mini_unit_stock,t.mini_unit_stock miniUnitStock,td.name unitCodeName,td1.name
        miniUnitCodeName,sh.sh_type shType,t.parent_rst_id parentRstId,t.rst_id rstId,rst1.name parentRstName,rst.name rstName
        from resource_store t
        left join resource_store_type rst on t.rst_id = rst.rst_id and rst.status_cd = '0'
        left join resource_store_type rst1 on t.parent_rst_id = rst1.rst_id and rst1.status_cd = '0'
        left join resource_store_specification rss on t.rss_id = rss.rss_id and rss.status_cd = '0'
        left join storehouse sh on t.sh_id = sh.sh_id and t.store_id = sh.store_id and sh.status_cd = '0'
        left join t_dict td on t.unit_code = td.status_cd and td.table_name = 'resource_store' and td.table_columns =
@@ -216,6 +224,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and t.rss_id= #{rssId}
@@ -280,6 +291,9 @@
        <if test="miniStock !=null and miniStock != ''">
            and t.mini_stock= #{miniStock}
        </if>
        <if test="isShow !=null and isShow != ''">
            and sh.is_show= #{isShow}
        </if>
        <if test="resOrderType == '20000'">
            and t.stock > 0
        </if>
@@ -303,6 +317,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            , t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            , t.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            , t.rss_id= #{rssId}
@@ -374,6 +391,9 @@
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and t.rss_id= #{rssId}
        </if>
@@ -440,6 +460,9 @@
        <if test="miniStock !=null and miniStock != ''">
            and t.mini_stock= #{miniStock}
        </if>
        <if test="isShow !=null and isShow != ''">
            and sh.is_show= #{isShow}
        </if>
        <if test="resOrderType == '20000'">
            and t.stock > 0
        </if>
java110-db/src/main/resources/mapper/store/ResourceStoreSpecificationServiceDaoImplMapper.xml
@@ -7,9 +7,9 @@
    <!-- 保存物品规格信息 add by wuxw 2018-07-03 -->
    <insert id="saveBusinessResourceStoreSpecificationInfo" parameterType="Map">
           insert into business_resource_store_specification(
            rss_id,rst_id,operate,spec_name,description,b_id,store_id
            rss_id,rst_id,operate,spec_name,description,b_id,store_id,parent_rst_id
            ) values (
            #{rssId},#{rstId},#{operate},#{specName},#{description},#{bId},#{storeId}
            #{rssId},#{rstId},#{operate},#{specName},#{description},#{bId},#{storeId},#{parentRstId}
            )
       </insert>
@@ -17,7 +17,7 @@
    <!-- 查询物品规格信息(Business) add by wuxw 2018-07-03 -->
    <select id="getBusinessResourceStoreSpecificationInfo" parameterType="Map" resultType="Map">
        select t.rss_id,t.rss_id rssId,t.rst_id,t.rst_id rstId,t.operate,t.spec_name,t.spec_name
        specName,t.description,t.b_id,t.b_id bId,t.store_id,t.store_id storeId
        specName,t.description,t.b_id,t.b_id bId,t.store_id,t.store_id storeId,t.parent_rst_id,t.parent_rst_id parentRstId
        from business_resource_store_specification t
        where 1 =1
        <if test="rssId !=null and rssId != ''">
@@ -25,6 +25,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="operate !=null and operate != ''">
            and t.operate= #{operate}
@@ -48,14 +51,17 @@
    <!-- 保存物品规格信息至 instance表中 add by wuxw 2018-07-03 -->
    <insert id="saveResourceStoreSpecificationInfoInstance" parameterType="Map">
        insert into resource_store_specification(
        rss_id,rst_id,spec_name,description,status_cd,b_id,store_id
        ) select t.rss_id,t.rst_id,t.spec_name,t.description,'0',t.b_id,t.store_id from
        rss_id,rst_id,spec_name,description,status_cd,b_id,store_id,parent_rst_id
        ) select t.rss_id,t.rst_id,t.spec_name,t.description,'0',t.b_id,t.store_id,t.parent_rst_id from
        business_resource_store_specification t where 1=1
        <if test="rssId !=null and rssId != ''">
            and t.rss_id= #{rssId}
        </if>
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        and t.operate= 'ADD'
        <if test="specName !=null and specName != ''">
@@ -78,14 +84,19 @@
    <select id="getResourceStoreSpecificationInfo" parameterType="Map" resultType="Map">
        select t.rss_id,t.rss_id rssId,t.rst_id,t.rst_id rstId,t.spec_name,t.spec_name
        specName,t.description,t.status_cd,t.status_cd statusCd,t.b_id,t.b_id bId,t.store_id,t.store_id
        storeId,rst.name,rst.name rstName
        from resource_store_specification t left join resource_store_type rst on t.rst_id=rst.rst_id
        storeId,rst.name,rst.name rstName,t.parent_rst_id,t.parent_rst_id parentRstId,rst1.name parentRstName
        from resource_store_specification t
        left join resource_store_type rst on t.rst_id=rst.rst_id
        left join resource_store_type rst1 on t.parent_rst_id=rst1.rst_id
        where 1 =1
        <if test="rssId !=null and rssId != ''">
            and t.rss_id= #{rssId}
        </if>
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="specName !=null and specName != ''">
            and t.spec_name like '%${specName}%'
@@ -119,6 +130,9 @@
        <if test="rstId !=null and rstId != ''">
            , t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            , t.parent_rst_id= #{parentRstId}
        </if>
        <if test="specName !=null and specName != ''">
            , t.spec_name= #{specName}
        </if>
@@ -149,6 +163,9 @@
        <if test="rstId !=null and rstId != ''">
            and t.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and t.parent_rst_id= #{parentRstId}
        </if>
        <if test="specName !=null and specName != ''">
            and t.spec_name like '%${specName}%'
        </if>
java110-db/src/main/resources/mapper/store/ResourceStoreTypeServiceDaoImplMapper.xml
@@ -7,16 +7,16 @@
    <!-- 保存物品类型信息 add by wuxw 2018-07-03 -->
    <insert id="saveBusinessResourceStoreTypeInfo" parameterType="Map">
        insert into business_resource_store_type(
        rst_id,name,description,b_id,store_id,create_time,operate
        rst_id,name,description,b_id,store_id,create_time,operate,parent_id
        ) values (
         #{rstId},#{name},#{description},#{bId},#{storeId},#{createTime},#{operate}
         #{rstId},#{name},#{description},#{bId},#{storeId},#{createTime},#{operate},#{parentId}
        )
    </insert>
    <!-- 查询物品类型信息(Business) add by wuxw 2018-07-03 -->
    <select id="getBusinessResourceStoreTypeInfo" parameterType="Map" resultType="Map">
        select t.rst_id,t.rst_id rstId,t.name,t.description,t.b_id,t.b_id bId,t.store_id,t.store_id
        storeId
        storeId,t.parent_id,t.parent_id parentId
        from business_resource_store_type t
        where 1 =1
        <if test="rstId !=null and rstId != ''">
@@ -34,13 +34,16 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="parentId !=null and parentId != ''">
            and t.parent_id= #{parentId}
        </if>
    </select>
    <!-- 保存物品类型信息至 instance表中 add by wuxw 2018-07-03 -->
    <insert id="saveResourceStoreTypeInfoInstance" parameterType="Map">
        insert into resource_store_type(
        rst_id,name,description,status_cd,b_id,store_id,create_time
        ) select t.rst_id,t.name,t.description,'0',t.b_id,t.store_id,t.create_time from
        rst_id,name,description,status_cd,b_id,store_id,create_time,parent_id
        ) select t.rst_id,t.name,t.description,'0',t.b_id,t.store_id,t.create_time,t.parent_id from
        business_resource_store_type t
        where 1=1
        <if test="rstId !=null and rstId != ''">
@@ -58,12 +61,16 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="parentId !=null and parentId != ''">
            and t.parent_id= #{parentId}
        </if>
    </insert>
    <!-- 查询物品类型信息 add by wuxw 2018-07-03 -->
    <select id="getResourceStoreTypeInfo" parameterType="Map" resultType="Map">
        select t.rst_id,t.rst_id rstId,t.name,t.description,t.status_cd,t.status_cd statusCd,t.b_id,t.b_id
        bId,t.store_id,t.store_id storeId,t.create_time,t.create_time createTime
        bId,t.store_id,t.store_id storeId,t.create_time,t.create_time createTime,t.parent_id,t.parent_id parentId,
        t.name
        from resource_store_type t
        where 1 =1
        <if test="rstId !=null and rstId != ''">
@@ -83,6 +90,9 @@
        </if>
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="parentId !=null and parentId != ''">
            and t.parent_id= #{parentId}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
@@ -104,6 +114,9 @@
        </if>
        <if test="storeId !=null and storeId != ''">
            , t.store_id= #{storeId}
        </if>
        <if test="parentId !=null and parentId != ''">
            , t.parent_id= #{parentId}
        </if>
        where 1=1
        <if test="rstId !=null and rstId != ''">
@@ -137,5 +150,8 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="parentId !=null and parentId != ''">
            and t.parent_id= #{parentId}
        </if>
    </select>
</mapper>
java110-db/src/main/resources/mapper/store/ResourceStoreUseRecordServiceDaoImplMapper.xml
@@ -117,10 +117,11 @@
        statusCd,t.remark,t.store_id,t.store_id storeId,t.res_id,t.res_id
        resId,t.resource_store_name,t.resource_store_name resourceStoreName,rs.res_name resName,
        t.b_id,t.b_id bId,t.community_id,t.community_id communityId,t.create_time createTime, rst.name
        rstName,rss.spec_name specName,td1.name unitCodeName,td2.name miniUnitCodeName
        rstName,rst1.name parentRstName,rss.spec_name specName,td1.name unitCodeName,td2.name miniUnitCodeName
        from resource_store_use_record t
        left join resource_store rs on rs.res_id = t.res_id
        left join resource_store_type rst on rs.rst_id = rst.rst_id
        left join resource_store_type rst1 on rs.parent_rst_id = rst1.rst_id
        left join resource_store_specification rss on rs.rss_id = rss.rss_id
        left join t_dict td1 on rs.unit_code = td1.status_cd and td1.table_name = 'resource_store' and td1.table_columns = 'unit_code'
        left join t_dict td2 on rs.mini_unit_code = td2.status_cd and td2.table_name = 'resource_store' and td2.table_columns = 'unit_code'
@@ -163,6 +164,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
@@ -285,6 +289,9 @@
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
        </if>
java110-db/src/main/resources/mapper/store/StorehouseServiceDaoImplMapper.xml
@@ -7,9 +7,9 @@
    <!-- 保存仓库信息 add by wuxw 2018-07-03 -->
    <insert id="saveBusinessStorehouseInfo" parameterType="Map">
        insert into business_storehouse(
        sh_desc,sh_type,sh_obj_id,operate,sh_id,sh_name,b_id,store_id
        sh_desc,sh_type,sh_obj_id,operate,sh_id,sh_name,b_id,store_id,is_show
        ) values (
        #{shDesc},#{shType},#{shObjId},#{operate},#{shId},#{shName},#{bId},#{storeId}
        #{shDesc},#{shType},#{shObjId},#{operate},#{shId},#{shName},#{bId},#{storeId},#{isShow}
        )
    </insert>
@@ -17,7 +17,7 @@
    <select id="getBusinessStorehouseInfo" parameterType="Map" resultType="Map">
        select t.sh_desc,t.sh_desc shDesc,t.sh_type,t.sh_type shType,t.sh_obj_id,t.sh_obj_id
        shObjId,t.operate,t.sh_id,t.sh_id shId,t.sh_name,t.sh_name shName,t.b_id,t.b_id bId,t.store_id,t.store_id
        storeId
        storeId,t.is_show,t.is_show isShow
        from business_storehouse t
        where 1 =1
        <if test="shDesc !=null and shDesc != ''">
@@ -44,13 +44,17 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="isShow !=null and isShow != ''">
            and t.is_show= #{isShow}
        </if>
    </select>
    <!-- 保存仓库信息至 instance表中 add by wuxw 2018-07-03 -->
    <insert id="saveStorehouseInfoInstance" parameterType="Map">
        insert into storehouse(
        sh_desc,sh_type,sh_obj_id,sh_id,status_cd,sh_name,b_id,store_id
        ) select t.sh_desc,t.sh_type,t.sh_obj_id,t.sh_id,'0',t.sh_name,t.b_id,t.store_id from business_storehouse t
        sh_desc,sh_type,sh_obj_id,sh_id,status_cd,sh_name,b_id,store_id,is_show
        ) select t.sh_desc,t.sh_type,t.sh_obj_id,t.sh_id,'0',t.sh_name,t.b_id,t.store_id,t.is_show
        from business_storehouse t
        where 1=1
        <if test="shDesc !=null and shDesc != ''">
            and t.sh_desc= #{shDesc}
@@ -74,13 +78,16 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="isShow !=null and isShow != ''">
            and t.is_show= #{isShow}
        </if>
    </insert>
    <!-- 查询仓库信息 add by wuxw 2018-07-03 -->
    <select id="getStorehouseInfo" parameterType="Map" resultType="Map">
        select t.sh_desc,t.sh_desc shDesc,t.sh_type,t.sh_type shType,t.sh_obj_id,t.sh_obj_id shObjId,t.sh_id,t.sh_id
        shId,t.status_cd,t.status_cd statusCd,t.sh_name,t.sh_name shName,t.b_id,t.b_id bId,t.store_id,t.store_id storeId,
        t.create_time createTime
        shId,t.status_cd,t.status_cd statusCd,t.sh_name,t.sh_name shName,t.b_id,t.b_id bId,t.store_id,t.store_id
        storeId,t.is_show,t.is_show isShow,t.create_time createTime
        from storehouse t
        where 1 =1
        <if test="shDesc !=null and shDesc != ''">
@@ -113,6 +120,9 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="isShow !=null and isShow != ''">
            and t.is_show= #{isShow}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
@@ -139,6 +149,9 @@
        </if>
        <if test="storeId !=null and storeId != ''">
            , t.store_id= #{storeId}
        </if>
        <if test="isShow !=null and isShow != ''">
            , t.is_show= #{isShow}
        </if>
        where 1=1
        <if test="shId !=null and shId != ''">
@@ -184,5 +197,8 @@
        <if test="storeId !=null and storeId != ''">
            and t.store_id= #{storeId}
        </if>
        <if test="isShow !=null and isShow != ''">
            and t.is_show= #{isShow}
        </if>
    </select>
</mapper>
java110-db/src/main/resources/mapper/store/UserStorehouseServiceDaoImplMapper.xml
@@ -94,12 +94,13 @@
    <select id="getUserStorehouseInfo" parameterType="Map" resultType="Map">
        select t.res_name,t.res_name resName,t.status_cd,t.status_cd statusCd,t.b_id,t.b_id bId,t.store_id,t.store_id
        storeId,t.stock,t.res_id,t.res_id resId,t.user_id,t.user_id userId,t.us_id,t.us_id usId,rs.res_code resCode,
        rs.out_low_price outLowPrice,rs.out_high_price outHighPrice,rst.name rstName,rss.spec_name specName,t.mini_stock miniStock,
        rs.out_low_price outLowPrice,rs.out_high_price outHighPrice,rst.name rstName,rst1.name parentRstName,rss.spec_name specName,t.mini_stock miniStock,
        rs.unit_code unitCode,rs.mini_unit_code miniUnitCode,rs.mini_unit_stock miniUnitStock,
        td.name unitCodeName,td1.name miniUnitCodeName,u.name userName
        from user_storehouse t
        left join resource_store rs on t.res_id = rs.res_id and rs.status_cd = '0'
        left join resource_store_type rst on rs.rst_id = rst.rst_id
        left join resource_store_type rst1 on rs.parent_rst_id = rst1.rst_id
        left join resource_store_specification rss on rs.rss_id = rss.rss_id
        left join t_dict td on rs.unit_code = td.status_cd and td.table_name = 'resource_store' and td.table_columns = 'unit_code'
        left join t_dict td1 on rs.mini_unit_code = td1.status_cd and td1.table_name = 'resource_store' and td1.table_columns = 'unit_code'
@@ -131,6 +132,9 @@
        </if>
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
@@ -216,6 +220,9 @@
        <if test="rstId !=null and rstId != ''">
            and rs.rst_id= #{rstId}
        </if>
        <if test="parentRstId !=null and parentRstId != ''">
            and rs.parent_rst_id= #{parentRstId}
        </if>
        <if test="rssId !=null and rssId != ''">
            and rs.rss_id= #{rssId}
        </if>
java110-interface/src/main/java/com/java110/intf/fee/IReturnPayFeeInnerServiceSMO.java
@@ -32,6 +32,24 @@
    List<ReturnPayFeeDto> queryReturnPayFees(@RequestBody ReturnPayFeeDto returnPayFeeDto);
    /**
     * <p>查询小区楼信息</p>
     *
     * @param returnPayFeeDto 数据对象分享
     * @return ReturnPayFeeDto 对象数据
     */
    @RequestMapping(value = "/queryRoomReturnPayFees", method = RequestMethod.POST)
    List<ReturnPayFeeDto> queryRoomReturnPayFees(@RequestBody ReturnPayFeeDto returnPayFeeDto);
    /**
     * <p>查询小区楼信息</p>
     *
     * @param returnPayFeeDto 数据对象分享
     * @return ReturnPayFeeDto 对象数据
     */
    @RequestMapping(value = "/queryCarReturnPayFees", method = RequestMethod.POST)
    List<ReturnPayFeeDto> queryCarReturnPayFees(@RequestBody ReturnPayFeeDto returnPayFeeDto);
    /**
     * 查询<p>小区楼</p>总记录数
     *
     * @param returnPayFeeDto 数据对象分享
service-acct/src/main/java/com/java110/acct/bmo/account/impl/GetAccountBMOImpl.java
@@ -81,25 +81,33 @@
    public ResponseEntity<String> queryOwnerAccount(AccountDto accountDto, OwnerDto ownerDto) {
        List<OwnerDto> ownerDtos = null;
        List<AccountDto> accountDtos = null;
        int count = 0;
        if (!StringUtil.isEmpty(ownerDto.getLink()) || !StringUtil.isEmpty(ownerDto.getIdCard())) {
            //先查询业主
            ownerDtos = ownerInnerServiceSMOImpl.queryOwners(ownerDto);
        }
        if (ownerDtos != null && ownerDtos.size() > 0) {
            accountDto.setAcctName("");
            accountDto.setObjId(ownerDtos.get(0).getMemberId());
        }
        int count = accountInnerServiceSMOImpl.queryAccountsCount(accountDto);
        List<AccountDto> accountDtos = null;
        if (count > 0) {
            accountDtos = accountInnerServiceSMOImpl.queryAccounts(accountDto);
            if (ownerDtos != null && ownerDtos.size() > 0) {
                accountDto.setAcctName("");
                accountDto.setObjId(ownerDtos.get(0).getMemberId());
                count = accountInnerServiceSMOImpl.queryAccountsCount(accountDto);
                if (count > 0) {
                    accountDtos = accountInnerServiceSMOImpl.queryAccounts(accountDto);
                } else {
                    accountDtos = new ArrayList<>();
                }
            } else {
                accountDtos = new ArrayList<>();
            }
        } else {
            accountDtos = new ArrayList<>();
            count = accountInnerServiceSMOImpl.queryAccountsCount(accountDto);
            if (count > 0) {
                accountDtos = accountInnerServiceSMOImpl.queryAccounts(accountDto);
            } else {
                accountDtos = new ArrayList<>();
            }
        }
        ResultVo resultVo = new ResultVo((int) Math.ceil((double) count / (double) accountDto.getRow()), count, accountDtos);
        ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK);
service-api/src/main/java/com/java110/api/listener/ownerRepair/RepairFinishListener.java
@@ -477,6 +477,7 @@
            feePo.setIncomeObjId(reqJson.getString("storeId"));
            feePo.setPayerObjType(FeeDto.PAYER_OBJ_TYPE_ROOM);
            feePo.setAmount(reqJson.getString("totalPrice"));
            feePo.setBatchId("-1");
            RepairDto repairDto = new RepairDto();
            repairDto.setCommunityId(reqJson.getString("communityId"));
            repairDto.setRepairId(reqJson.getString("repairId"));
service-api/src/main/java/com/java110/api/listener/resourceStore/AuditAllocationStoreOrderListener.java
@@ -169,6 +169,7 @@
                    resourceStorePo.setOutLowPrice(originalResourceStoreDtos.get(0).getOutLowPrice());
                    resourceStorePo.setOutHighPrice(originalResourceStoreDtos.get(0).getOutHighPrice());
                    resourceStorePo.setRstId(originalResourceStoreDtos.get(0).getRstId());
                    resourceStorePo.setParentRstId(originalResourceStoreDtos.get(0).getParentRstId());
                    resourceStorePo.setRssId(originalResourceStoreDtos.get(0).getRssId());
                    if (!StringUtil.isEmpty(originalResourceStoreDtos.get(0).getMiniUnitCode()) && !StringUtil.isEmpty(originalResourceStoreDtos.get(0).getMiniUnitStock())) {
                        resourceStorePo.setMiniUnitCode(originalResourceStoreDtos.get(0).getMiniUnitCode());
@@ -209,6 +210,7 @@
                    resourceStorePo.setWarningStock(resourceStoreDtos.get(0).getWarningStock());
                    resourceStorePo.setAveragePrice(resourceStoreDtos.get(0).getAveragePrice());
                    resourceStorePo.setRstId(resourceStoreDtos.get(0).getRstId());
                    resourceStorePo.setParentRstId(resourceStoreDtos.get(0).getParentRstId());
                    resourceStorePo.setRssId(resourceStoreDtos.get(0).getRssId());
                    resourceStorePo.setMiniUnitCode(resourceStoreDtos.get(0).getMiniUnitCode());
                    resourceStorePo.setMiniUnitStock(resourceStoreDtos.get(0).getMiniUnitStock());
service-api/src/main/java/com/java110/api/listener/resourceStore/ListStorehousesListener.java
@@ -80,7 +80,7 @@
        } else {
            storehouseDto.setShObjIds(new String[]{reqJson.getString("communityId"), reqJson.getString("storeId")});
        }
        if (StringUtil.isEmpty(reqJson.getString("shType"))) {//调拨申请查看所有仓库
        if (reqJson.containsKey("flag") && reqJson.getString("flag").equals("0")) {//调拨申请查看所有仓库
            storehouseDto.setShObjIds(null);
        }
        int count = storehouseInnerServiceSMOImpl.queryStorehousesCount(storehouseDto);
service-api/src/main/java/com/java110/api/listener/resourceStore/SaveResourceStoreListener.java
@@ -39,6 +39,9 @@
        if (outLowPrice > outHighPrice) {
            throw new IllegalArgumentException("最低收费标准不能大于最高收费标准!");
        }
        if (reqJson.containsKey("rsId") && !reqJson.getString("rsId").equals("")) {
            reqJson.put("rstId", reqJson.getString("rsId"));
        }
        resourceStoreBMOImpl.addResourceStore(reqJson, context);
    }
service-api/src/main/java/com/java110/api/listener/resourceStoreSpecification/SaveResourceStoreSpecificationListener.java
@@ -33,6 +33,9 @@
    @Override
    protected void doSoService(ServiceDataFlowEvent event, DataFlowContext context, JSONObject reqJson) {
        if (reqJson.containsKey("rsId") && !reqJson.getString("rsId").equals("")) {
            reqJson.put("rstId", reqJson.getString("rsId"));
        }
        resourceStoreSpecificationBMOImpl.addResourceStoreSpecification(reqJson, context);
    }
service-api/src/main/java/com/java110/api/listener/resourceStoreType/ListResourceStoreTypesListener.java
@@ -9,11 +9,13 @@
import com.java110.utils.util.BeanConvertUtil;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContext;
import com.java110.utils.util.StringUtil;
import com.java110.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import java.util.ArrayList;
import java.util.List;
@@ -62,7 +64,17 @@
    @Override
    protected void doSoService(ServiceDataFlowEvent event, DataFlowContext context, JSONObject reqJson) {
        if (reqJson.containsKey("flag") && reqJson.getString("flag").equals("0")) {
            reqJson.put("parentId", reqJson.getString("rstId"));
            reqJson.put("rstId", null);
            reqJson.put("name", null);
        }
        if (reqJson.containsKey("rsId") && !StringUtil.isEmpty(reqJson.getString("rsId"))) {
            reqJson.put("rstId", reqJson.getString("rsId"));
        }
        if (reqJson.containsKey("rstName") && !StringUtil.isEmpty(reqJson.getString("rstName"))) {
            reqJson.put("name", reqJson.getString("rstName"));
        }
        ResourceStoreTypeDto resourceStoreTypeDto = BeanConvertUtil.covertBean(reqJson, ResourceStoreTypeDto.class);
        int count = resourceStoreTypeInnerServiceSMOImpl.queryResourceStoreTypesCount(resourceStoreTypeDto);
service-api/src/main/java/com/java110/api/listener/returnPayFee/ListReturnPayFeesListener.java
@@ -8,6 +8,7 @@
import com.java110.dto.returnPayFee.ReturnPayFeeDto;
import com.java110.core.event.service.api.ServiceDataFlowEvent;
import com.java110.utils.constant.ServiceCodeReturnPayFeeConstant;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import com.java110.utils.util.StringUtil;
import com.java110.vo.api.returnPayFee.ApiReturnPayFeeDataVo;
@@ -19,7 +20,6 @@
import java.util.ArrayList;
import java.util.List;
/**
 * 查询小区侦听类
@@ -71,8 +71,26 @@
        if (count > 0) {
            //注意这里处理 记得测试退费逻辑
            returnPayFees = BeanConvertUtil.covertBeanList(returnPayFeeInnerServiceSMOImpl.queryReturnPayFees(returnPayFeeDto), ApiReturnPayFeeDataVo.class);
            List<ReturnPayFeeDto> returnPayFeeDtos = returnPayFeeInnerServiceSMOImpl.queryReturnPayFees(returnPayFeeDto);
            List<ReturnPayFeeDto> returnPayFeeDtoList = new ArrayList<>();
            for (ReturnPayFeeDto returnPayFee : returnPayFeeDtos) {
                //获取付款方标识
                String payerObjType = returnPayFee.getPayerObjType();
                if (!StringUtil.isEmpty(payerObjType) && payerObjType.equals("3333")) { //房屋
                    returnPayFeeDto.setReturnFeeId(returnPayFee.getReturnFeeId());
                    List<ReturnPayFeeDto> returnPayFeeList = returnPayFeeInnerServiceSMOImpl.queryRoomReturnPayFees(returnPayFeeDto);
                    Assert.listOnlyOne(returnPayFeeList, "查询退费信息错误!");
                    returnPayFeeDtoList.add(returnPayFeeList.get(0));
                } else if (!StringUtil.isEmpty(payerObjType) && payerObjType.equals("6666")) { //车辆
                    returnPayFeeDto.setReturnFeeId(returnPayFee.getReturnFeeId());
                    List<ReturnPayFeeDto> returnPayFeeList = returnPayFeeInnerServiceSMOImpl.queryCarReturnPayFees(returnPayFeeDto);
                    Assert.listOnlyOne(returnPayFeeList, "查询退费信息错误!");
                    returnPayFeeDtoList.add(returnPayFeeList.get(0));
                } else {
                    continue;
                }
            }
            returnPayFees = BeanConvertUtil.covertBeanList(returnPayFeeDtoList, ApiReturnPayFeeDataVo.class);
        } else {
            returnPayFees = new ArrayList<>();
        }
service-api/src/main/java/com/java110/api/smo/assetExport/impl/ExportReportFeeSMOImpl.java
@@ -585,7 +585,7 @@
            row.createCell(1).setCellValue(dataObj.getString("userName"));
            row.createCell(2).setCellValue(dataObj.getString("endUserName"));
            row.createCell(3).setCellValue(dataObj.getString("resOrderTypeName"));
            row.createCell(4).setCellValue(dataObj.getString("rstName"));
            row.createCell(4).setCellValue(dataObj.getString("parentRstName") + ">" + dataObj.getString("rstName"));
            row.createCell(5).setCellValue(dataObj.getString("resName"));
            row.createCell(6).setCellValue(dataObj.getString("specName"));
            row.createCell(7).setCellValue(dataObj.getString("supplierName"));
@@ -669,7 +669,7 @@
            dataObj = allocationStorehouses.getJSONObject(roomIndex);
            row.createCell(0).setCellValue(dataObj.getString("applyId"));
            row.createCell(1).setCellValue(dataObj.getString("resId"));
            row.createCell(2).setCellValue(dataObj.getString("rstName"));
            row.createCell(2).setCellValue(dataObj.getString("parentRstName") + ">" + dataObj.getString("rstName"));
            row.createCell(3).setCellValue(dataObj.getString("resName"));
            row.createCell(4).setCellValue(dataObj.getString("specName"));
            row.createCell(5).setCellValue(dataObj.getString("originalStock") + dataObj.getString("unitCodeName"));
@@ -714,7 +714,12 @@
            dataObj = resourceStores.getJSONObject(roomIndex);
            row.createCell(0).setCellValue(dataObj.getString("resId"));
            row.createCell(1).setCellValue(dataObj.getString("shName"));
            row.createCell(2).setCellValue(dataObj.getString("rstName"));
//            row.createCell(2).setCellValue(dataObj.getString("rstName"));
            if (StringUtil.isEmpty(dataObj.getString("rstName"))) {
                row.createCell(2).setCellValue(dataObj.getString("parentRstName"));
            } else {
                row.createCell(2).setCellValue(dataObj.getString("parentRstName") + ">" + dataObj.getString("rstName"));
            }
            row.createCell(3).setCellValue(dataObj.getString("resName"));
            row.createCell(4).setCellValue(dataObj.getString("rssName"));
            row.createCell(5).setCellValue(dataObj.getString("resCode"));
@@ -847,7 +852,7 @@
            dataObj = allocationUserStorehouses.getJSONObject(roomIndex);
            row.createCell(0).setCellValue(dataObj.getString("ausId"));
            row.createCell(1).setCellValue(dataObj.getString("resId"));
            row.createCell(2).setCellValue(dataObj.getString("rstName"));
            row.createCell(2).setCellValue(dataObj.getString("parentRstName") + ">" + dataObj.getString("rstName"));
            row.createCell(3).setCellValue(dataObj.getString("resName"));
            row.createCell(4).setCellValue(dataObj.getString("specName"));
            row.createCell(5).setCellValue(dataObj.getString("acceptUserId"));
@@ -885,7 +890,7 @@
            row.createCell(0).setCellValue(dataObj.getString("rsurId"));
            row.createCell(1).setCellValue(dataObj.getString("repairId"));
            row.createCell(2).setCellValue(dataObj.getString("resId"));
            row.createCell(3).setCellValue(dataObj.getString("rstName"));
            row.createCell(3).setCellValue(dataObj.getString("parentRstName") + ">" + dataObj.getString("rstName"));
            row.createCell(4).setCellValue(dataObj.getString("resourceStoreName"));
            row.createCell(5).setCellValue(dataObj.getString("specName"));
            row.createCell(6).setCellValue(dataObj.getString("quantity") + dataObj.getString("miniUnitCodeName"));
@@ -1197,7 +1202,7 @@
        JSONObject reqJson = JSONObject.parseObject(pd.getReqData());
        reqJson.put("page", 1);
        reqJson.put("row", 10000);
        apiUrl = "/purchaseApplyDetail.listPurchaseApplyDetails" + mapToUrlParam(reqJson);
        apiUrl = "purchaseApplyDetail.listPurchaseApplyDetails" + mapToUrlParam(reqJson);
        responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
        if (responseEntity.getStatusCode() != HttpStatus.OK) { //跳过 保存单元信息
            return null;
@@ -1221,7 +1226,7 @@
        reqJson.put("userId", pd.getUserId());
        reqJson.put("page", 1);
        reqJson.put("row", 10000);
        apiUrl = "/resourceStore.listAllocationStorehouseApplys" + mapToUrlParam(reqJson);
        apiUrl = "resourceStore.listAllocationStorehouseApplys" + mapToUrlParam(reqJson);
        responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
        if (responseEntity.getStatusCode() != HttpStatus.OK) { //跳过 保存单元信息
            return null;
@@ -1434,7 +1439,7 @@
        JSONObject reqJson = JSONObject.parseObject(pd.getReqData());
        reqJson.put("page", 1);
        reqJson.put("row", 10001);
        apiUrl ="/reportFeeYearCollection/queryReportFeeYear" + mapToUrlParam(reqJson);
        apiUrl = "/reportFeeYearCollection/queryReportFeeYear" + mapToUrlParam(reqJson);
        responseEntity = this.callCenterService(restTemplate, pd, "", apiUrl, HttpMethod.GET);
        if (responseEntity.getStatusCode() != HttpStatus.OK) { //跳过 保存单元信息
            return null;
service-api/src/main/java/com/java110/api/smo/wechatGateway/impl/WechatGatewaySMOImpl.java
@@ -81,7 +81,7 @@
                    if (noBindOwnerResponseMessage.indexOf("?") > -1) {
                        noBindOwnerResponseMessage += ("&wAppId=" + WechatFactory.getAppId(wId));
                    } else {
                        noBindOwnerResponseMessage += ("?wAppId=" + WechatFactory.getAppId(wId));
//                        noBindOwnerResponseMessage += ("?wAppId=" + WechatFactory.getAppId(wId));
                    }
                }
            }
service-community/src/main/java/com/java110/community/api/RoomRenovationApi.java
@@ -222,6 +222,7 @@
                payFeePo.setState(FeeDto.STATE_DOING);
                payFeePo.setConfigId(configId);
                payFeePo.setPayerObjType(FeeDto.PAYER_OBJ_TYPE_ROOM);
                payFeePo.setBatchId("-1");
                payFeePos.add(payFeePo);
                FeeAttrPo feeAttrPo1 = new FeeAttrPo();
                feeAttrPo1.setFeeId(payFeePo.getFeeId());
service-fee/src/main/java/com/java110/fee/dao/IReturnPayFeeServiceDao.java
@@ -55,6 +55,26 @@
     */
    List<Map> getReturnPayFeeInfo(Map info) throws DAOException;
    /**
     * 查询退费表信息(instance过程)
     * 根据bId 查询退费表信息
     *
     * @param info bId 信息
     * @return 退费表信息
     * @throws DAOException DAO异常
     */
    List<Map> getRoomReturnPayFeeInfo(Map info) throws DAOException;
    /**
     * 查询退费表信息(instance过程)
     * 根据bId 查询退费表信息
     *
     * @param info bId 信息
     * @return 退费表信息
     * @throws DAOException DAO异常
     */
    List<Map> getCarReturnPayFeeInfo(Map info) throws DAOException;
    /**
     * 修改退费表信息
service-fee/src/main/java/com/java110/fee/dao/impl/ReturnPayFeeServiceDaoImpl.java
@@ -94,6 +94,38 @@
        return businessReturnPayFeeInfos;
    }
    /**
     * 查询退费表信息(instance)
     *
     * @param info bId 信息
     * @return List<Map>
     * @throws DAOException DAO异常
     */
    @Override
    public List<Map> getRoomReturnPayFeeInfo(Map info) throws DAOException {
        logger.debug("查询退费表信息 入参 info : {}", info);
        List<Map> businessReturnPayFeeInfos = sqlSessionTemplate.selectList("returnPayFeeServiceDaoImpl.getRoomReturnPayFeeInfo", info);
        return businessReturnPayFeeInfos;
    }
    /**
     * 查询退费表信息(instance)
     *
     * @param info bId 信息
     * @return List<Map>
     * @throws DAOException DAO异常
     */
    @Override
    public List<Map> getCarReturnPayFeeInfo(Map info) throws DAOException {
        logger.debug("查询退费表信息 入参 info : {}", info);
        List<Map> businessReturnPayFeeInfos = sqlSessionTemplate.selectList("returnPayFeeServiceDaoImpl.getCarReturnPayFeeInfo", info);
        return businessReturnPayFeeInfos;
    }
    /**
     * 修改退费表信息
service-fee/src/main/java/com/java110/fee/smo/impl/ReturnPayFeeInnerServiceSMOImpl.java
@@ -58,6 +58,44 @@
        return returnPayFees;
    }
    @Override
    public List<ReturnPayFeeDto> queryRoomReturnPayFees(@RequestBody ReturnPayFeeDto returnPayFeeDto) {
        //校验是否传了 分页信息
        int page = returnPayFeeDto.getPage();
        if (page != PageDto.DEFAULT_PAGE) {
            returnPayFeeDto.setPage((page - 1) * returnPayFeeDto.getRow());
        }
        List<ReturnPayFeeDto> returnPayFees = BeanConvertUtil.covertBeanList(returnPayFeeServiceDaoImpl.getRoomReturnPayFeeInfo(BeanConvertUtil.beanCovertMap(returnPayFeeDto)), ReturnPayFeeDto.class);
        if (returnPayFees == null || returnPayFees.size() == 0) {
            return returnPayFees;
        }
        return returnPayFees;
    }
    @Override
    public List<ReturnPayFeeDto> queryCarReturnPayFees(@RequestBody ReturnPayFeeDto returnPayFeeDto) {
        //校验是否传了 分页信息
        int page = returnPayFeeDto.getPage();
        if (page != PageDto.DEFAULT_PAGE) {
            returnPayFeeDto.setPage((page - 1) * returnPayFeeDto.getRow());
        }
        List<ReturnPayFeeDto> returnPayFees = BeanConvertUtil.covertBeanList(returnPayFeeServiceDaoImpl.getCarReturnPayFeeInfo(BeanConvertUtil.beanCovertMap(returnPayFeeDto)), ReturnPayFeeDto.class);
        if (returnPayFees == null || returnPayFees.size() == 0) {
            return returnPayFees;
        }
        return returnPayFees;
    }
//    /**
//     * 从用户列表中查询用户,将用户中的信息 刷新到 floor对象中
//     *
service-store/src/main/java/com/java110/store/listener/resourceStore/AbstractResourceStoreBusinessServiceDataFlowListener.java
@@ -56,6 +56,7 @@
        businessResourceStoreInfo.put("miniUnitCode", businessResourceStoreInfo.get("mini_unit_code"));
        businessResourceStoreInfo.put("miniUnitStock", businessResourceStoreInfo.get("mini_unit_stock"));
        businessResourceStoreInfo.put("miniStock", businessResourceStoreInfo.get("mini_stock"));
        businessResourceStoreInfo.put("parentRstId", businessResourceStoreInfo.get("parent_rst_id"));
        businessResourceStoreInfo.remove("bId");
        businessResourceStoreInfo.put("statusCd", statusCd);
    }
@@ -97,6 +98,7 @@
        currentResourceStoreInfo.put("miniUnitCode", currentResourceStoreInfo.get("mini_unit_code"));
        currentResourceStoreInfo.put("miniUnitStock", currentResourceStoreInfo.get("mini_unit_stock"));
        currentResourceStoreInfo.put("miniStock", currentResourceStoreInfo.get("mini_stock"));
        currentResourceStoreInfo.put("parentRstId", currentResourceStoreInfo.get("parent_rst_id"));
        getResourceStoreServiceDaoImpl().saveBusinessResourceStoreInfo(currentResourceStoreInfo);
        for (Object key : currentResourceStoreInfo.keySet()) {
            if (businessResourceStore.get(key) == null) {
service-store/src/main/java/com/java110/store/listener/resourceStoreSpecification/AbstractResourceStoreSpecificationBusinessServiceDataFlowListener.java
@@ -39,6 +39,7 @@
        businessResourceStoreSpecificationInfo.put("newBId", businessResourceStoreSpecificationInfo.get("b_id"));
        businessResourceStoreSpecificationInfo.put("rssId", businessResourceStoreSpecificationInfo.get("rss_id"));
        businessResourceStoreSpecificationInfo.put("rstId", businessResourceStoreSpecificationInfo.get("rst_id"));
        businessResourceStoreSpecificationInfo.put("parentRstId", businessResourceStoreSpecificationInfo.get("parent_rst_id"));
        businessResourceStoreSpecificationInfo.put("operate", businessResourceStoreSpecificationInfo.get("operate"));
        businessResourceStoreSpecificationInfo.put("specName", businessResourceStoreSpecificationInfo.get("spec_name"));
        businessResourceStoreSpecificationInfo.put("description", businessResourceStoreSpecificationInfo.get("description"));
@@ -69,6 +70,7 @@
        currentResourceStoreSpecificationInfo.put("rssId", currentResourceStoreSpecificationInfo.get("rss_id"));
        currentResourceStoreSpecificationInfo.put("rstId", currentResourceStoreSpecificationInfo.get("rst_id"));
        currentResourceStoreSpecificationInfo.put("parentRstId", currentResourceStoreSpecificationInfo.get("parent_rst_id"));
        currentResourceStoreSpecificationInfo.put("operate", currentResourceStoreSpecificationInfo.get("operate"));
        currentResourceStoreSpecificationInfo.put("specName", currentResourceStoreSpecificationInfo.get("spec_name"));
        currentResourceStoreSpecificationInfo.put("description", currentResourceStoreSpecificationInfo.get("description"));
service-store/src/main/java/com/java110/store/listener/resourceStoreType/AbstractResourceStoreTypeBusinessServiceDataFlowListener.java
@@ -41,6 +41,7 @@
        businessResourceStoreTypeInfo.put("name", businessResourceStoreTypeInfo.get("name"));
        businessResourceStoreTypeInfo.put("description", businessResourceStoreTypeInfo.get("description"));
        businessResourceStoreTypeInfo.put("storeId", businessResourceStoreTypeInfo.get("store_id"));
        businessResourceStoreTypeInfo.put("parentId", businessResourceStoreTypeInfo.get("parent_id"));
        businessResourceStoreTypeInfo.remove("bId");
        businessResourceStoreTypeInfo.put("statusCd", statusCd);
    }
@@ -69,7 +70,7 @@
        currentResourceStoreTypeInfo.put("name", currentResourceStoreTypeInfo.get("name"));
        currentResourceStoreTypeInfo.put("description", currentResourceStoreTypeInfo.get("description"));
        currentResourceStoreTypeInfo.put("storeId", currentResourceStoreTypeInfo.get("store_id"));
        currentResourceStoreTypeInfo.put("parentId", currentResourceStoreTypeInfo.get("parent_id"));
        currentResourceStoreTypeInfo.put("operate", StatusConstant.OPERATE_DEL);
        getResourceStoreTypeServiceDaoImpl().saveBusinessResourceStoreTypeInfo(currentResourceStoreTypeInfo);
        for (Object key : currentResourceStoreTypeInfo.keySet()) {
service-store/src/main/java/com/java110/store/listener/storehouse/AbstractStorehouseBusinessServiceDataFlowListener.java
@@ -44,6 +44,7 @@
        businessStorehouseInfo.put("shId", businessStorehouseInfo.get("sh_id"));
        businessStorehouseInfo.put("shName", businessStorehouseInfo.get("sh_name"));
        businessStorehouseInfo.put("storeId", businessStorehouseInfo.get("store_id"));
        businessStorehouseInfo.put("isShow", businessStorehouseInfo.get("is_show"));
        businessStorehouseInfo.remove("bId");
        businessStorehouseInfo.put("statusCd", statusCd);
    }
@@ -75,7 +76,7 @@
        currentStorehouseInfo.put("shId", currentStorehouseInfo.get("sh_id"));
        currentStorehouseInfo.put("shName", currentStorehouseInfo.get("sh_name"));
        currentStorehouseInfo.put("storeId", currentStorehouseInfo.get("store_id"));
        currentStorehouseInfo.put("isShow", currentStorehouseInfo.get("is_show"));
        currentStorehouseInfo.put("operate", StatusConstant.OPERATE_DEL);
        getStorehouseServiceDaoImpl().saveBusinessStorehouseInfo(currentStorehouseInfo);
service-store/src/main/java/com/java110/store/smo/impl/ResourceStoreTypeInnerServiceSMOImpl.java
@@ -34,7 +34,7 @@
    private IUserInnerServiceSMO userInnerServiceSMOImpl;
    @Override
    public List<ResourceStoreTypeDto> queryResourceStoreTypes(@RequestBody  ResourceStoreTypeDto resourceResourceStoreTypeTypeDto) {
    public List<ResourceStoreTypeDto> queryResourceStoreTypes(@RequestBody ResourceStoreTypeDto resourceResourceStoreTypeTypeDto) {
        //校验是否传了 分页信息
@@ -64,7 +64,7 @@
     * 从用户列表中查询用户,将用户中的信息 刷新到 floor对象中
     *
     * @param resourceResourceStoreTypeType 小区物品类型信息
     * @param users 用户列表
     * @param users                         用户列表
     */
    private void refreshResourceStoreType(ResourceStoreTypeDto resourceResourceStoreTypeType, List<UserDto> users) {
        for (UserDto user : users) {
@@ -80,7 +80,7 @@
     * @param resourceResourceStoreTypeTypes 小区楼信息
     * @return 批量userIds 信息
     */
     private String[] getUserIds(List<ResourceStoreTypeDto> resourceResourceStoreTypeTypes) {
    private String[] getUserIds(List<ResourceStoreTypeDto> resourceResourceStoreTypeTypes) {
        List<String> userIds = new ArrayList<String>();
        for (ResourceStoreTypeDto resourceResourceStoreTypeType : resourceResourceStoreTypeTypes) {
            userIds.add(resourceResourceStoreTypeType.getRstId());
@@ -91,7 +91,8 @@
    @Override
    public int queryResourceStoreTypesCount(@RequestBody ResourceStoreTypeDto resourceResourceStoreTypeTypeDto) {
        return resourceResourceStoreTypeTypeServiceDaoImpl.queryResourceStoreTypesCount(BeanConvertUtil.beanCovertMap(resourceResourceStoreTypeTypeDto));    }
        return resourceResourceStoreTypeTypeServiceDaoImpl.queryResourceStoreTypesCount(BeanConvertUtil.beanCovertMap(resourceResourceStoreTypeTypeDto));
    }
    public IResourceStoreTypeServiceDao getResourceStoreTypeServiceDaoImpl() {
        return resourceResourceStoreTypeTypeServiceDaoImpl;