Commit 86abab38 by 任晓松

update

parent d184adc1
...@@ -47,6 +47,16 @@ class FormInfoCtl extends CtlBase { ...@@ -47,6 +47,16 @@ class FormInfoCtl extends CtlBase {
return result; return result;
} }
/**
* 根据id获取表单
* @param pobj
* @returns {Promise<void>}
*/
async findById(pobj){
let result = await this.service.findOne({id:pobj.id},[]);
return system.getResult(result);
}
} }
module.exports = FormInfoCtl; module.exports = FormInfoCtl;
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