| | |
| | | private IdUtils idUtils; |
| | | |
| | | public Map<String, Object> queryOrderList(QueryOrderListDto model) { |
| | | String name = model.getName(); |
| | | String name = StrUtil.isEmpty(model.getName())?model.getName():StringUtils.encode(model.getName()); |
| | | String orderNo = model.getOrderNo(); |
| | | Integer status = model.getStatus() == null ? 0 : model.getStatus(); |
| | | Date createdTimeStart = model.getCreatedTimeStart(); |
| | |
| | | } |
| | | } |
| | | |
| | | if (addGoodsOrderDto.getCnt() > sku.getStock()) { |
| | | throw new RestException(-3, "库存不足"); |
| | | } |
| | | |
| | | AccountInfo accountInfo = accountInfoMapper.selectAccountInfoByUserId(addGoodsOrderDto.getUserId()); |
| | | |
| | | if (accountInfo.getCollectScore() == null) { |