Commit dec81d88 authored by fangxinjiang's avatar fangxinjiang

员工报账查询&批量导出&审核人导出最终版-fxj

parent 79c2c14f
...@@ -549,6 +549,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme ...@@ -549,6 +549,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
} }
boolean save = this.save(order); boolean save = this.save(order);
//异步处理附件信息同步 fxj 2024-11-22 17:46 //异步处理附件信息同步 fxj 2024-11-22 17:46
log.error("I AM HERE 1");
if (Common.isNotNull(vo.getAttIds())){ if (Common.isNotNull(vo.getAttIds())){
this.syncFileFromEkp(order.getOrderNo(),vo.getAttIds()); this.syncFileFromEkp(order.getOrderNo(),vo.getAttIds());
} }
...@@ -765,6 +766,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme ...@@ -765,6 +766,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
**/ **/
@Override @Override
public R<String> syncFileFromEkp(String orderNo, String attIds) { public R<String> syncFileFromEkp(String orderNo, String attIds) {
log.error("I AM HERE 2");
if (StringUtils.isEmpty(orderNo)){ if (StringUtils.isEmpty(orderNo)){
return R.failed(OrderConstants.ORDER_NO_IS_EMPTY); return R.failed(OrderConstants.ORDER_NO_IS_EMPTY);
} }
...@@ -773,6 +775,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme ...@@ -773,6 +775,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
} }
String res = ekpOrderUtil.syncFileFromEkp(orderNo,attIds); String res = ekpOrderUtil.syncFileFromEkp(orderNo,attIds);
if (Common.isNotNull(res)){ if (Common.isNotNull(res)){
log.error("I AM HERE 1"+res);
return R.failed(res); return R.failed(res);
} }
return R.ok(OrderConstants.OPERATE_SUCCESS); return R.ok(OrderConstants.OPERATE_SUCCESS);
......
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