|
|
@@ -285,6 +285,10 @@ public class FundtransferServiceImpl extends CommonBaseServiceImpl<FundtransferM
|
|
|
Iterator isList = baseDTO.getBaseDTOs().iterator();
|
|
|
while (isList.hasNext()){
|
|
|
DocBaseDTO docBaseDTO = (DocBaseDTO) isList.next();
|
|
|
+ Fundtransfer fundtransfers = fundtransferMapper.selectByPrimaryKey(docBaseDTO.getId().intValue());
|
|
|
+ if (com.usoftchina.saas.commons.po.Status.AUDITED.getDisplay().equals(fundtransfers.getFt_status())){
|
|
|
+ throw new BizException(500, BizExceptionCode.DOCUMENTS_AUDITED.getMessage());
|
|
|
+ }
|
|
|
Fundtransfer fundtransfer = new Fundtransfer();
|
|
|
fundtransfer.setId(Long.valueOf(docBaseDTO.getId()));
|
|
|
fundtransfer.setFt_status(com.usoftchina.saas.commons.po.Status.AUDITED.getDisplay());
|