Commit bccbe06b by 庄冰

forminfo

parent a852221c
......@@ -117,9 +117,8 @@ class ForminfoService extends ServiceBase {
//获取相关表单项
// let itemData = await this.formitemDao.findAll({form_id:pobj.id},[]);
let itemData = await this.formitemDao.model.findAll({
where:{form_id:pobj.id},
raw:true,
order:[["sequence":"asc"],["id":"asc"]]
where:{form_id:pobj.id},raw:true,
order:[["sequence","asc"]]
});
let form_items = '';
if(itemData.length>0){
......
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