Commit dcd54bf1 by lixinming

no message

parent bdddb895
......@@ -7,7 +7,7 @@ import { generateOrderId, successResult } from "../../tools/system";
import { changeEnumValue, eccEnumValue } from "../../util/verificationEnum";
import { addOneData } from "../../data/add";
import { TABLEENUM } from "../../data/models/model";
import { find, findCount, findOnce, findOnceToSort, findToPage } from "../../data/select";
import { find, findCount, findOnce, findOnceToSort, findToPage, findToSort } from "../../data/select";
import { extractData } from "../../util/piecemeal";
import { BizError } from "../../util/bizError";
import { ERRORENUM } from "../../config/errorEnum";
......@@ -501,8 +501,3 @@ export async function getInvoiceStatus({id}) {
return successResult();
}
......@@ -87,6 +87,7 @@ enum TABLEENUM {
验证码表 = "code",
审批历史表 = "approvalHistory",
权限表 = "authority",
订单审批历史表 = "orderApprovalHistory"
}
const ModelArray = [
......@@ -477,7 +478,7 @@ const ModelArray = [
}
},
{
tableName:TABLEENUM.审批历史表,
tableName:TABLEENUM.审批历史表,//会员
source:TABLESOURCEENUM.mongo,
schema:{
userId:{type:'String', index:true},//用户id 外键
......@@ -485,7 +486,7 @@ const ModelArray = [
operationBehavior:{ type:'Number'},//操作行为 枚举
remarks:{ type:'String' },//备注
}
},
}
];
......
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