Commit 406eb14e by sxy

fix: string 转 boolen

parent b6ac022b
...@@ -19,6 +19,7 @@ class MaterialDao extends Dao { ...@@ -19,6 +19,7 @@ class MaterialDao extends Dao {
otherMaterialsInfo: pobj.cache_info.otherMaterialsInfo, otherMaterialsInfo: pobj.cache_info.otherMaterialsInfo,
deliver_id: pobj.deliver_id deliver_id: pobj.deliver_id
} }
dataInfo.proposerInfo.businessInformation.ifListed = dataInfo.proposerInfo.businessInformation.ifListed === "true"
if (materialData) { if (materialData) {
//更新 //更新
await this.updateByWhere(dataInfo, { await this.updateByWhere(dataInfo, {
......
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