Commit b14e36f6 by 兰国旗

laolan

parent 0dd1f60c
......@@ -255,13 +255,13 @@ class RegCenterOrderService{
return system.getResultSuccess(pobj);
}
//获取方案信息
var ns = await this.needsolutionDao.findOne({
var ns = await this.needsolutionDao.model.findOne({
where: { channelSolutionNo: ab.channelSolutionId, isInvalid: 0 }, raw: true
});
if (!ns) {
return system.getResultFail(-102, "未知方案");
}
var needinfo = await this.needinfoDao.findOne({
var needinfo = await this.needinfoDao.model.findOne({
where: { needNo: ns.needNo }, raw: true
});
if (!needinfo) {
......@@ -363,7 +363,7 @@ class RegCenterOrderService{
updateObj["isInvalid"] = 1;
}
await this.needsolutionDao.update(updateObj);//方案状态修改
var new_ns = await this.needsolutionDao.findOne({
var new_ns = await this.needsolutionDao.model.findOne({
where: { id: ns.id }, raw: true
});
return system.getResultSuccess(new_ns);
......
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