Commit dc4e4fa4 by 王栋源

wdy

parent 2cad671c
......@@ -161,7 +161,7 @@ class NeedinfoService extends ServiceBase {
}
async getItemByChannelSolutionNo(pobj){
var solutionitem = await this.needsolutionDao.findOne({where: {channelSolutionNo: pobj.actionBody.bizId}});
var solutionitem = await this.needsolutionDao.findOne({channelSolutionNo: pobj.actionBody.bizId});
if (!solutionitem) {
return system.getResult(null, "需求数据为空,30210");
}
......@@ -175,5 +175,5 @@ class NeedinfoService extends ServiceBase {
}
module.exports = NeedinfoService;
// var a=new NeedinfoService();
// var b=a.getItemByNeedNo({actionBody:{needNo:"N202004132334EjurnEr"}});
\ No newline at end of file
var a=new NeedinfoService();
var b=a.getItemByChannelSolutionNo({actionBody:{bizId:"1593141330846"}});
\ 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