|
@@ -44,6 +44,7 @@ module.exports = app => {
|
|
p.cstimes = 0;
|
|
p.cstimes = 0;
|
|
p.csorder = 0;
|
|
p.csorder = 0;
|
|
p.csaorder = 0;
|
|
p.csaorder = 0;
|
|
|
|
+ if (p.minus === null) p.minus = false;
|
|
}
|
|
}
|
|
let result;
|
|
let result;
|
|
if (transaction) {
|
|
if (transaction) {
|
|
@@ -53,6 +54,7 @@ module.exports = app => {
|
|
}
|
|
}
|
|
return result.affectedRows === pays.length;
|
|
return result.affectedRows === pays.length;
|
|
} catch(error) {
|
|
} catch(error) {
|
|
|
|
+ this.ctx.helper.log(error);
|
|
throw '项目的默认合同支付数据有误';
|
|
throw '项目的默认合同支付数据有误';
|
|
}
|
|
}
|
|
}
|
|
}
|