|
@@ -13,6 +13,7 @@ const defaultFunRela = {
|
|
|
hintOver: true,
|
|
|
banMinusChangeBills: false,
|
|
|
minusNoValue: true,
|
|
|
+ lockPayExpr: false,
|
|
|
imType: imType.zl.value,
|
|
|
needGcl: false,
|
|
|
};
|
|
@@ -65,7 +66,8 @@ module.exports = app => {
|
|
|
banOver: {type: 'bool', required: true,},
|
|
|
hintOver: {type: 'bool', required: true,},
|
|
|
banMinusChangeBills: {type: 'bool', required: true,},
|
|
|
- minusNoValue: {type: 'bool', required: true,}
|
|
|
+ minusNoValue: {type: 'bool', required: true,},
|
|
|
+ lockPayExpr: {type: 'bool', required: true,},
|
|
|
};
|
|
|
break;
|
|
|
default:
|
|
@@ -172,7 +174,7 @@ module.exports = app => {
|
|
|
const result = await this.db.update(this.tableName, {
|
|
|
id: id, fun_rela: JSON.stringify({
|
|
|
banOver: data.banOver, hintOver: data.hintOver, banMinusChangeBills: data.banMinusChangeBills,
|
|
|
- imType: data.imType, needGcl: data.needGcl, minusNoValue: data.minusNoValue,
|
|
|
+ imType: data.imType, needGcl: data.needGcl, minusNoValue: data.minusNoValue, lockPayExpr: data.lockPayExpr,
|
|
|
}),
|
|
|
});
|
|
|
return result.affectedRows === 1;
|