md
This commit is contained in:
parent
b10ec2389e
commit
6603d6857b
@ -110,7 +110,7 @@ public class EmisSettleInvoiceChRecordServiceImpl implements IEmisSettleInvoiceC
|
|||||||
EmisSettleInvoiceRecord newApply = new EmisSettleInvoiceRecord();
|
EmisSettleInvoiceRecord newApply = new EmisSettleInvoiceRecord();
|
||||||
newApply.setId(oldApply.getId());
|
newApply.setId(oldApply.getId());
|
||||||
newApply.setInvoiceStatus("1");
|
newApply.setInvoiceStatus("1");
|
||||||
newApply.setInvoiceStatusDesc("开票中");
|
// newApply.setInvoiceStatusDesc("开票中");
|
||||||
|
|
||||||
// 操作人
|
// 操作人
|
||||||
newApply.setOpManCode(SecurityUtils.getLoginUser().getUser().getEmpCode());
|
newApply.setOpManCode(SecurityUtils.getLoginUser().getUser().getEmpCode());
|
||||||
@ -126,7 +126,14 @@ public class EmisSettleInvoiceChRecordServiceImpl implements IEmisSettleInvoiceC
|
|||||||
// 渠道待发送
|
// 渠道待发送
|
||||||
newApply.setOpenChStatus("0");
|
newApply.setOpenChStatus("0");
|
||||||
|
|
||||||
|
if(emisSettleInvoiceChRecord.getParams().containsKey("isManual")){
|
||||||
|
// 设定为已开票
|
||||||
|
newApply.setInvoiceStatus("2");
|
||||||
|
newApply.setOpenChStatus("2");
|
||||||
emisSettleInvoiceRecordMapper.updateEmisSettleInvoiceRecord(newApply);
|
emisSettleInvoiceRecordMapper.updateEmisSettleInvoiceRecord(newApply);
|
||||||
|
}else {
|
||||||
|
emisSettleInvoiceRecordMapper.updateEmisSettleInvoiceRecord(newApply);
|
||||||
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user