Commit ddaddd7a authored by wangzb's avatar wangzb

feature-wzb :bug修复

parent 457afd99
...@@ -471,9 +471,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme ...@@ -471,9 +471,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
@Override @Override
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public R receiveOrder(OrderAddVO vo) throws IOException{ public R receiveOrder(OrderAddVO vo) throws IOException{
log.error("vo.getCreateTime()="+vo.getCreateTime());
log.error("vo.getDeptNo()="+vo.getDeptNo());
log.error("vo.getOrderNo()="+vo.getOrderNo());
if (Common.isEmpty(vo.getOrderNo())){ if (Common.isEmpty(vo.getOrderNo())){
return R.failed(OrderConstants.ORDER_NO_IS_EMPTY); return R.failed(OrderConstants.ORDER_NO_IS_EMPTY);
} }
...@@ -514,7 +512,15 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme ...@@ -514,7 +512,15 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
if (CollectionUtils.isEmpty(vo.getHandleUserList())){ if (CollectionUtils.isEmpty(vo.getHandleUserList())){
return R.failed(OrderConstants.HANDLE_USER_IS_EMPTY); return R.failed(OrderConstants.HANDLE_USER_IS_EMPTY);
} TSettleDomain settleDomain = new TSettleDomain(); } TSettleDomain settleDomain = new TSettleDomain();
if(vo.getUrgencyExtent().equals(CommonConstants.ONE_STRING)){
vo.setUrgencyExtent("加急(2-3小时)");
}
if(vo.getUrgencyExtent().equals(CommonConstants.TWO_STRING)){
vo.setUrgencyExtent("紧急(3-5小时)");
}
if(vo.getUrgencyExtent().equals(CommonConstants.THREE_STRING)){
vo.setUrgencyExtent("常规(5-8小时)");
}
List<TSettleDomainSelectVo> settleDomainR; List<TSettleDomainSelectVo> settleDomainR;
R<TSettleDomainListVo> listVo; R<TSettleDomainListVo> listVo;
listVo = archivesDaprUtil.selectSettleDomainSelectVoByNo(vo.getDeptNo()); listVo = archivesDaprUtil.selectSettleDomainSelectVoByNo(vo.getDeptNo());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment