Commit b29a8213 by 王昆

gsb

parent 862d09dc
...@@ -35,7 +35,7 @@ class IInvoiceService extends ServiceBase { ...@@ -35,7 +35,7 @@ class IInvoiceService extends ServiceBase {
try { try {
let invoiceExists =await this.dao.findByChannelAndApplyNo(this.trim(params.channel_id),this.trim(params.apply_no)); let invoiceExists =await this.dao.findByChannelAndApplyNo(this.trim(params.channel_id),this.trim(params.apply_no));
if(invoiceExists.total!=0){ if(invoiceExists.total!=0){
return system.getResult(null,`发票编号${params.apply_no}已存在`); return system.getResult(null,`发票编号[${params.apply_no}]已存在`);
} }
} catch (error) { } catch (error) {
console.log(error); console.log(error);
......
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