| | |
| | | } |
| | | |
| | | @Override |
| | | public List<OrderOperationLog> getByOrderNum(String orderNum) { |
| | | return orderOperationLogMapper.getByOrderNum(orderNum); |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void create(OrderOperationLog resources) { |
| | | orderOperationLogMapper.insert(resources); |
| | |
| | | List<Map<String, Object>> list = new ArrayList<>(); |
| | | for (OrderOperationLog orderOperationLog : all) { |
| | | Map<String, Object> map = new LinkedHashMap<>(); |
| | | map.put("用户id", orderOperationLog.getUserId()); |
| | | map.put("用户账号", orderOperationLog.getUsername()); |
| | | map.put("用户类型", orderOperationLog.getUserType()); |
| | | map.put("用户操作", orderOperationLog.getOperation()); |
| | | map.put("备注", orderOperationLog.getRemark()); |