Commit 9adee1ef by 孙亚楠

dd

parent db7c56a7
......@@ -253,7 +253,7 @@ class ObusinessmenService extends ServiceBase {
if(!params.id){
return system.getResult(null,`参数错误 个体户ID非法`);
}
let _obusinessmen = await this.dao.model.findById({
let _obusinessmen = await this.dao.model.findOne({
where:{
id:this.trim(params.id)
}
......
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