old mode 100644
new mode 100755
| | |
| | | @Service("parkingSpaceBMOImpl") |
| | | public class ParkingSpaceBMOImpl extends ApiBaseBMO implements IParkingSpaceBMO { |
| | | |
| | | |
| | | @Autowired |
| | | private IParkingSpaceInnerServiceSMO parkingSpaceInnerServiceSMOImpl; |
| | | |
| | | @Autowired |
| | | private IFeeInnerServiceSMO feeInnerServiceSMOImpl; |
| | | |
| | | @Autowired |
| | | private IFeeConfigInnerServiceSMO feeConfigInnerServiceSMOImpl; |
| | | |
| | |
| | | businessParkingSpace.putAll(paramInJson); |
| | | businessParkingSpace.put("state", parkingSpaceDto.getState()); |
| | | ParkingSpacePo parkingSpacePo = BeanConvertUtil.covertBean(businessParkingSpace, ParkingSpacePo.class); |
| | | //parkingSpaceInnerServiceSMOImpl.updateParkingSpace(parkingSpacePo); |
| | | super.update(dataFlowContext, parkingSpacePo, BusinessTypeConstant.BUSINESS_TYPE_UPDATE_PARKING_SPACE); |
| | | } |
| | | |
| | |
| | | * @return 订单服务能够接受的报文 |
| | | */ |
| | | public void addParkingSpace(JSONObject paramInJson, DataFlowContext dataFlowContext) { |
| | | |
| | | JSONObject businessParkingSpace = new JSONObject(); |
| | | businessParkingSpace.putAll(paramInJson); |
| | | businessParkingSpace.put("state", "F"); |
| | | businessParkingSpace.put("psId", "-1"); |
| | | businessParkingSpace.put("psId", GenerateCodeFactory.getPsId(GenerateCodeFactory.CODE_PREFIX_psId)); |
| | | businessParkingSpace.put("bId", "-1"); |
| | | businessParkingSpace.put("createTime", new Date()); |
| | | ParkingSpacePo parkingSpacePo = BeanConvertUtil.covertBean(businessParkingSpace, ParkingSpacePo.class); |
| | | super.delete(dataFlowContext, parkingSpacePo, BusinessTypeConstant.BUSINESS_TYPE_SAVE_PARKING_SPACE); |
| | | super.insert(dataFlowContext, parkingSpacePo, BusinessTypeConstant.BUSINESS_TYPE_SAVE_PARKING_SPACE); |
| | | |
| | | //parkingSpaceInnerServiceSMOImpl.saveParkingSpace(parkingSpacePo); |
| | | } |
| | | |
| | | |