1、优化采购管理物品增加二级分类 2、增加仓库是否对外开放 3、修复未绑定业主显示代码问题
| | |
| | | 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"; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | private String purchasePrice; |
| | | private String id; |
| | | private String rstName; |
| | | private String parentRstName; |
| | | private String specName; |
| | | private String standardPrice; |
| | | private String originalStock; |
| | |
| | | public void setMiniUnitCodeName(String miniUnitCodeName) { |
| | | this.miniUnitCodeName = miniUnitCodeName; |
| | | } |
| | | |
| | | public String getParentRstName() { |
| | | return parentRstName; |
| | | } |
| | | |
| | | public void setParentRstName(String parentRstName) { |
| | | this.parentRstName = parentRstName; |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | private String miniUnitStock; |
| | | //最小计量总数 |
| | | private String miniStock; |
| | | private String parentRstId; |
| | | private String parentRstName; |
| | | //仓库是否对外开放 true是 false否 |
| | | private String isShow; |
| | | |
| | | public String getResName() { |
| | | return resName; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | private String storeId; |
| | | private Date createTime; |
| | | private String statusCd = "0"; |
| | | private String parentId = "0"; //父级id,默认为0 |
| | | |
| | | public String getRstId() { |
| | | return rstId; |
| | |
| | | public void setStatusCd(String statusCd) { |
| | | this.statusCd = statusCd; |
| | | } |
| | | |
| | | public String getParentId() { |
| | | return parentId; |
| | | } |
| | | |
| | | public void setParentId(String parentId) { |
| | | this.parentId = parentId; |
| | | } |
| | | } |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | private String shId; |
| | | private String shName; |
| | | private String storeId; |
| | | private String isShow; |
| | | |
| | | private Date createTime; |
| | | |
| | |
| | | public void setShObjIds(String[] shObjIds) { |
| | | this.shObjIds = shObjIds; |
| | | } |
| | | |
| | | public String getIsShow() { |
| | | return isShow; |
| | | } |
| | | |
| | | public void setIsShow(String isShow) { |
| | | this.isShow = isShow; |
| | | } |
| | | } |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | private String purchasePrice; |
| | | private String resOrderType; |
| | | private String rstId; |
| | | private String parentRstId; |
| | | private String rstName; |
| | | private String rssId; |
| | | private String rssName; |
| | |
| | | public void setMiniStock(String miniStock) { |
| | | this.miniStock = miniStock; |
| | | } |
| | | |
| | | public String getParentRstId() { |
| | | return parentRstId; |
| | | } |
| | | |
| | | public void setParentRstId(String parentRstId) { |
| | | this.parentRstId = parentRstId; |
| | | } |
| | | } |
| | |
| | | |
| | | private String rssId; |
| | | private String rstId; |
| | | private String parentRstId; |
| | | private String specName; |
| | | private String description; |
| | | private String storeId; |
| | |
| | | this.storeId = storeId; |
| | | } |
| | | |
| | | public String getParentRstId() { |
| | | return parentRstId; |
| | | } |
| | | |
| | | public void setParentRstId(String parentRstId) { |
| | | this.parentRstId = parentRstId; |
| | | } |
| | | } |
| | |
| | | private String storeId; |
| | | private String createTime; |
| | | private String statusCd = "0"; |
| | | private String parentId = "0"; //父级id,默认为0 |
| | | |
| | | public String getRstId() { |
| | | return rstId; |
| | |
| | | public void setStatusCd(String statusCd) { |
| | | this.statusCd = statusCd; |
| | | } |
| | | |
| | | public String getParentId() { |
| | | return parentId; |
| | | } |
| | | |
| | | public void setParentId(String parentId) { |
| | | this.parentId = parentId; |
| | | } |
| | | } |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | private String purchaseRemark; |
| | | private String purchasePrice; |
| | | private String rstName; |
| | | private String parentRstName; |
| | | private String specName; |
| | | private String standardPrice; |
| | | private String originalStock; |
| | |
| | | public void setMiniUnitCodeName(String miniUnitCodeName) { |
| | | this.miniUnitCodeName = miniUnitCodeName; |
| | | } |
| | | |
| | | public String getParentRstName() { |
| | | return parentRstName; |
| | | } |
| | | |
| | | public void setParentRstName(String parentRstName) { |
| | | this.parentRstName = parentRstName; |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | private String rsId; |
| | | private String supplierName; |
| | | private String rstName; |
| | | private String parentRstName; |
| | | private String specName; |
| | | private String shId; |
| | | private String shName; |
| | |
| | | public void setMiniUnitCodeName(String miniUnitCodeName) { |
| | | this.miniUnitCodeName = miniUnitCodeName; |
| | | } |
| | | |
| | | public String getParentRstName() { |
| | | return parentRstName; |
| | | } |
| | | |
| | | public void setParentRstName(String parentRstName) { |
| | | this.parentRstName = parentRstName; |
| | | } |
| | | } |
| | |
| | | private String miniUnitStock; |
| | | //最小计量总数 |
| | | private String miniStock; |
| | | private String parentRstId; |
| | | private String parentRstName; |
| | | |
| | | public String getResId() { |
| | | return resId; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | package com.java110.vo.api.returnPayFee; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | public class ApiReturnPayFeeDataVo implements Serializable { |
| | | |
| | |
| | | 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; |
| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | <if test="hasMoney !=null and hasMoney != ''"> |
| | | and t.amount > 0 |
| | | </if> |
| | | |
| | | <if test="acctType !=null and acctType != ''"> |
| | | and t.acct_type= #{acctType} |
| | | </if> |
| | |
| | | <if test="partId !=null and partId != ''"> |
| | | and t.part_id= #{partId} |
| | | </if> |
| | | |
| | | |
| | | </select> |
| | | |
| | | |
| | |
| | | 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> |
| | |
| | | <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> |
| | | |
| | | |
| | |
| | | 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' |
| | |
| | | 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' |
| | |
| | | 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} |
| | |
| | | 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' |
| | |
| | | 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 != ''"> |
| | |
| | | </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} |
| | |
| | | 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 != ''"> |
| | |
| | | <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> |
| | |
| | | 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' |
| | |
| | | </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} |
| | |
| | | <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> |
| | |
| | | td2.name stateName, |
| | | td3.name warehousingWayName, |
| | | rst.name rstName, |
| | | rst1.name parentRstName, |
| | | rss.spec_name specName, |
| | | rs.sh_id shId, |
| | | td4.name unitCodeName, |
| | |
| | | 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 != ''"> |
| | |
| | | </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} |
| | |
| | | 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 != ''"> |
| | |
| | | <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 >= #{startTime} |
| | | </if> |
| | |
| | | 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 |
| | |
| | | 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' |
| | |
| | | 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> |
| | | |
| | |
| | | <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> |
| | | |
| | |
| | | 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 != ''"> |
| | |
| | | </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} |
| | |
| | | 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} |
| | |
| | | </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} |
| | |
| | | <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 = |
| | |
| | | </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} |
| | |
| | | <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> |
| | |
| | | </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} |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <!-- 保存物品规格信息 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> |
| | | |
| | |
| | | <!-- 查询物品规格信息(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 != ''"> |
| | |
| | | </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} |
| | |
| | | <!-- 保存物品规格信息至 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 != ''"> |
| | |
| | | <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}%' |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | <!-- 保存物品类型信息 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 != ''"> |
| | |
| | | <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 != ''"> |
| | |
| | | <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 != ''"> |
| | |
| | | </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 "> |
| | |
| | | </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 != ''"> |
| | |
| | | <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> |
| | |
| | | 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' |
| | |
| | | </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} |
| | |
| | | <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> |
| | |
| | | <!-- 保存仓库信息 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> |
| | | |
| | |
| | | <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 != ''"> |
| | |
| | | <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} |
| | |
| | | <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 != ''"> |
| | |
| | | <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} |
| | |
| | | </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 != ''"> |
| | |
| | | <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> |
| | |
| | | <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' |
| | |
| | | </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} |
| | |
| | | <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> |
| | |
| | | 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 数据对象分享 |
| | |
| | | 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); |
| | |
| | | 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")); |
| | |
| | | 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()); |
| | |
| | | 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()); |
| | |
| | | } 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); |
| | |
| | | if (outLowPrice > outHighPrice) { |
| | | throw new IllegalArgumentException("最低收费标准不能大于最高收费标准!"); |
| | | } |
| | | if (reqJson.containsKey("rsId") && !reqJson.getString("rsId").equals("")) { |
| | | reqJson.put("rstId", reqJson.getString("rsId")); |
| | | } |
| | | resourceStoreBMOImpl.addResourceStore(reqJson, context); |
| | | } |
| | | |
| | |
| | | |
| | | @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); |
| | | } |
| | | |
| | |
| | | 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; |
| | | |
| | |
| | | |
| | | @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); |
| | |
| | | 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; |
| | |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 查询小区侦听类 |
| | |
| | | |
| | | 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<>(); |
| | | } |
| | |
| | | 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")); |
| | |
| | | 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")); |
| | |
| | | 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")); |
| | |
| | | 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")); |
| | |
| | | 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")); |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | if (noBindOwnerResponseMessage.indexOf("?") > -1) { |
| | | noBindOwnerResponseMessage += ("&wAppId=" + WechatFactory.getAppId(wId)); |
| | | } else { |
| | | noBindOwnerResponseMessage += ("?wAppId=" + WechatFactory.getAppId(wId)); |
| | | // noBindOwnerResponseMessage += ("?wAppId=" + WechatFactory.getAppId(wId)); |
| | | } |
| | | } |
| | | } |
| | |
| | | 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()); |
| | |
| | | */ |
| | | 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; |
| | | |
| | | |
| | | /** |
| | | * 修改退费表信息 |
| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 修改退费表信息 |
| | |
| | | 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对象中 |
| | | // * |
| | |
| | | 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); |
| | | } |
| | |
| | | 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) { |
| | |
| | | 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")); |
| | |
| | | |
| | | 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")); |
| | |
| | | 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); |
| | | } |
| | |
| | | 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()) { |
| | |
| | | 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); |
| | | } |
| | |
| | | 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); |
| | |
| | | private IUserInnerServiceSMO userInnerServiceSMOImpl; |
| | | |
| | | @Override |
| | | public List<ResourceStoreTypeDto> queryResourceStoreTypes(@RequestBody ResourceStoreTypeDto resourceResourceStoreTypeTypeDto) { |
| | | public List<ResourceStoreTypeDto> queryResourceStoreTypes(@RequestBody ResourceStoreTypeDto resourceResourceStoreTypeTypeDto) { |
| | | |
| | | //校验是否传了 分页信息 |
| | | |
| | |
| | | * 从用户列表中查询用户,将用户中的信息 刷新到 floor对象中 |
| | | * |
| | | * @param resourceResourceStoreTypeType 小区物品类型信息 |
| | | * @param users 用户列表 |
| | | * @param users 用户列表 |
| | | */ |
| | | private void refreshResourceStoreType(ResourceStoreTypeDto resourceResourceStoreTypeType, List<UserDto> users) { |
| | | for (UserDto user : users) { |
| | |
| | | * @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()); |
| | |
| | | |
| | | @Override |
| | | public int queryResourceStoreTypesCount(@RequestBody ResourceStoreTypeDto resourceResourceStoreTypeTypeDto) { |
| | | return resourceResourceStoreTypeTypeServiceDaoImpl.queryResourceStoreTypesCount(BeanConvertUtil.beanCovertMap(resourceResourceStoreTypeTypeDto)); } |
| | | return resourceResourceStoreTypeTypeServiceDaoImpl.queryResourceStoreTypesCount(BeanConvertUtil.beanCovertMap(resourceResourceStoreTypeTypeDto)); |
| | | } |
| | | |
| | | public IResourceStoreTypeServiceDao getResourceStoreTypeServiceDaoImpl() { |
| | | return resourceResourceStoreTypeTypeServiceDaoImpl; |