Commit 3a630dbe by 孙亚楠

dd

parent 57d1dd64
......@@ -368,7 +368,9 @@ class ApplyService extends ServiceBase {
nowObj.remark = this.trim("");
nowObj.delivererId = this.trim("");
nowObj.isPay = 0;
nowObj.businessmenType = this.trim(_apply.businessmenType);
nowObj.ruleCode = this.trim(_apply.ruleCode);
nowObj.ruleParams = this.trim(_apply.ruleParams);
let res = await this.db.transaction(async (t) => {
// 插入发票申请单
let _nowObj = await this.dao.create(nowObj, t);
......@@ -378,6 +380,9 @@ class ApplyService extends ServiceBase {
applyNo: _nowObj.applyNo,
merchantId: _nowObj.merchantId,
red_status: '1',
businessmenType = nowObj.businessmenType,
ruleCode = nowObj.ruleCode,
ruleParams = nowObj.ruleParams
}, t);
// 源发票改为红冲办理中
......
......@@ -53,6 +53,7 @@ class DelivererService extends ServiceBase {
/**
* 申请列表(交付商)
* 注意:当前只有一个交付商,如果有多个交付商,则需要传入id 并且修改当前接口sql
* @param {*} params
*/
async apiDelivererApplyInvoices(params) {
......
......@@ -12,11 +12,11 @@ module.exports={
"10":{
MAX_AMOUNT:500000000,
WARNING_AMOUNT:400000000,
algorithmCode:"10"
ruleCode:"10"
},
"20":{
MAX_AMOUNT:400000000,
WARNING_AMOUNT:300000000,
algorithmCode:"10"
ruleCode:"10"
}
}
\ No newline at end of file
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