丽知:u8c推送钉钉优化
This commit is contained in:
parent
0164edabdc
commit
232415e75b
|
@ -108,9 +108,9 @@ public class PushU8CServiceImpl implements PushU8CService {
|
|||
|
||||
} catch (Exception e) {
|
||||
logger.error("委外采购(付款单)->采购付款申请(新)报错", e);
|
||||
// DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(djFileVO.getDjzbVO().getParentvo().getDwbm(), djFileVO.getDjzbVO().getParentvo().getDwbm_code(), djFileVO.getDjzbVO().getParentvo().getBusitypecode(), djFileVO.getDjzbVO().getParentvo().getDjbh(), djFileVO.getDjzbVO().getParentvo().getVouchid(), "N", e.getMessage(), null,null);
|
||||
// dingU8cBillEntity.setCreate_time(new Date());
|
||||
// dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(djFileVO.getDjzbVO().getParentvo().getDwbm(), djFileVO.getDjzbVO().getParentvo().getDwbm_code(), djFileVO.getDjzbVO().getParentvo().getBusitypecode(), djFileVO.getDjzbVO().getParentvo().getDjbh(), djFileVO.getDjzbVO().getParentvo().getVouchid(), "N", e.getMessage(), null,null);
|
||||
dingU8cBillEntity.setCreate_time(new Date());
|
||||
dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
Assert.state(false,e.getMessage());
|
||||
}
|
||||
return instanceId;
|
||||
|
@ -148,9 +148,9 @@ public class PushU8CServiceImpl implements PushU8CService {
|
|||
|
||||
} catch (Exception e) {
|
||||
logger.error("代理采购(付款单)->采购付款申请(店群专用)报错", e);
|
||||
// DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(djFileVO.getDjzbVO().getParentvo().getDwbm(), djFileVO.getDjzbVO().getParentvo().getDwbm_code(), djFileVO.getDjzbVO().getParentvo().getBusitypecode(), djFileVO.getDjzbVO().getParentvo().getDjbh(), djFileVO.getDjzbVO().getParentvo().getVouchid(), "N", e.getMessage(), null,null);
|
||||
// dingU8cBillEntity.setCreate_time(new Date());
|
||||
// dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(djFileVO.getDjzbVO().getParentvo().getDwbm(), djFileVO.getDjzbVO().getParentvo().getDwbm_code(), djFileVO.getDjzbVO().getParentvo().getBusitypecode(), djFileVO.getDjzbVO().getParentvo().getDjbh(), djFileVO.getDjzbVO().getParentvo().getVouchid(), "N", e.getMessage(), null,null);
|
||||
dingU8cBillEntity.setCreate_time(new Date());
|
||||
dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
Assert.state(false,e.getMessage());
|
||||
}
|
||||
return instanceId;
|
||||
|
@ -186,9 +186,9 @@ public class PushU8CServiceImpl implements PushU8CService {
|
|||
|
||||
} catch (Exception e) {
|
||||
logger.error("调拨单内部交易(付款单)->特殊业务处理(新)报错", e);
|
||||
// DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(djFileVO.getDjzbVO().getParentvo().getDwbm(), djFileVO.getDjzbVO().getParentvo().getDwbm_code(), djFileVO.getDjzbVO().getParentvo().getBusitypecode(), djFileVO.getDjzbVO().getParentvo().getDjbh(), djFileVO.getDjzbVO().getParentvo().getVouchid(), "N", e.getMessage(), null,null);
|
||||
// dingU8cBillEntity.setCreate_time(new Date());
|
||||
// dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(djFileVO.getDjzbVO().getParentvo().getDwbm(), djFileVO.getDjzbVO().getParentvo().getDwbm_code(), djFileVO.getDjzbVO().getParentvo().getBusitypecode(), djFileVO.getDjzbVO().getParentvo().getDjbh(), djFileVO.getDjzbVO().getParentvo().getVouchid(), "N", e.getMessage(), null,null);
|
||||
dingU8cBillEntity.setCreate_time(new Date());
|
||||
dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
Assert.state(false,e.getMessage());
|
||||
}
|
||||
return instanceId;
|
||||
|
@ -339,9 +339,9 @@ public class PushU8CServiceImpl implements PushU8CService {
|
|||
} catch (Exception e) {
|
||||
logger.error(e.getMessage());
|
||||
//记录失败记录
|
||||
DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null);
|
||||
dingU8cBillEntity.setCreate_time(new Date());
|
||||
dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
// DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null);
|
||||
// dingU8cBillEntity.setCreate_time(new Date());
|
||||
// dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
Assert.state(false,"推送钉钉失败,失败原因:{}",e.getMessage());
|
||||
}
|
||||
return null;
|
||||
|
@ -396,9 +396,9 @@ public class PushU8CServiceImpl implements PushU8CService {
|
|||
} catch (Exception e) {
|
||||
logger.error(e.getMessage());
|
||||
//记录失败记录
|
||||
DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null);
|
||||
dingU8cBillEntity.setCreate_time(new Date());
|
||||
dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
// DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null);
|
||||
// dingU8cBillEntity.setCreate_time(new Date());
|
||||
// dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
Assert.state(false,"推送钉钉失败,失败原因:{}",e.getMessage());
|
||||
}
|
||||
return instanceId;
|
||||
|
@ -447,9 +447,9 @@ public class PushU8CServiceImpl implements PushU8CService {
|
|||
} catch (Exception e) {
|
||||
logger.error(e.getMessage());
|
||||
//记录失败记录
|
||||
DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null);
|
||||
dingU8cBillEntity.setCreate_time(new Date());
|
||||
dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
// DingU8cBillEntity dingU8cBillEntity = new DingU8cBillEntity(parentvo.getDwbm(), parentvo.getDwbm_code(), parentvo.getBusitypecode(), parentvo.getDjbh(), parentvo.getVouchid(), "N", e.getMessage(), null,null);
|
||||
// dingU8cBillEntity.setCreate_time(new Date());
|
||||
// dingU8cBillDao.pushSaveOrUpdate(dingU8cBillEntity);
|
||||
Assert.state(false,"推送钉钉失败,失败原因:{}",e.getMessage());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue