Java Code Examples for com.macro.mall.model.OmsOrder#setReceiverName()
The following examples show how to use
com.macro.mall.model.OmsOrder#setReceiverName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OmsOrderServiceImpl.java From mall-swarm with Apache License 2.0 | 6 votes |
@Override public int updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam) { OmsOrder order = new OmsOrder(); order.setId(receiverInfoParam.getOrderId()); order.setReceiverName(receiverInfoParam.getReceiverName()); order.setReceiverPhone(receiverInfoParam.getReceiverPhone()); order.setReceiverPostCode(receiverInfoParam.getReceiverPostCode()); order.setReceiverDetailAddress(receiverInfoParam.getReceiverDetailAddress()); order.setReceiverProvince(receiverInfoParam.getReceiverProvince()); order.setReceiverCity(receiverInfoParam.getReceiverCity()); order.setReceiverRegion(receiverInfoParam.getReceiverRegion()); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); //插入操作记录 OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(receiverInfoParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(receiverInfoParam.getStatus()); history.setNote("修改收货人信息"); orderOperateHistoryMapper.insert(history); return count; }
Example 2
Source File: OmsOrderServiceImpl.java From macrozheng with Apache License 2.0 | 6 votes |
@Override public int updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam) { OmsOrder order = new OmsOrder(); order.setId(receiverInfoParam.getOrderId()); order.setReceiverName(receiverInfoParam.getReceiverName()); order.setReceiverPhone(receiverInfoParam.getReceiverPhone()); order.setReceiverPostCode(receiverInfoParam.getReceiverPostCode()); order.setReceiverDetailAddress(receiverInfoParam.getReceiverDetailAddress()); order.setReceiverProvince(receiverInfoParam.getReceiverProvince()); order.setReceiverCity(receiverInfoParam.getReceiverCity()); order.setReceiverRegion(receiverInfoParam.getReceiverRegion()); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); //插入操作记录 OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(receiverInfoParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(receiverInfoParam.getStatus()); history.setNote("修改收货人信息"); orderOperateHistoryMapper.insert(history); return count; }
Example 3
Source File: OmsOrderServiceImpl.java From mall with Apache License 2.0 | 6 votes |
@Override public int updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam) { OmsOrder order = new OmsOrder(); order.setId(receiverInfoParam.getOrderId()); order.setReceiverName(receiverInfoParam.getReceiverName()); order.setReceiverPhone(receiverInfoParam.getReceiverPhone()); order.setReceiverPostCode(receiverInfoParam.getReceiverPostCode()); order.setReceiverDetailAddress(receiverInfoParam.getReceiverDetailAddress()); order.setReceiverProvince(receiverInfoParam.getReceiverProvince()); order.setReceiverCity(receiverInfoParam.getReceiverCity()); order.setReceiverRegion(receiverInfoParam.getReceiverRegion()); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); //插入操作记录 OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(receiverInfoParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(receiverInfoParam.getStatus()); history.setNote("修改收货人信息"); orderOperateHistoryMapper.insert(history); return count; }
Example 4
Source File: OmsOrderServiceImpl.java From macrozheng-mall with MIT License | 6 votes |
@Override public int updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam) { OmsOrder order = new OmsOrder(); order.setId(receiverInfoParam.getOrderId()); order.setReceiverName(receiverInfoParam.getReceiverName()); order.setReceiverPhone(receiverInfoParam.getReceiverPhone()); order.setReceiverPostCode(receiverInfoParam.getReceiverPostCode()); order.setReceiverDetailAddress(receiverInfoParam.getReceiverDetailAddress()); order.setReceiverProvince(receiverInfoParam.getReceiverProvince()); order.setReceiverCity(receiverInfoParam.getReceiverCity()); order.setReceiverRegion(receiverInfoParam.getReceiverRegion()); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); //插入操作记录 OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(receiverInfoParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(receiverInfoParam.getStatus()); history.setNote("修改收货人信息"); orderOperateHistoryMapper.insert(history); return count; }