新增生产管理,组装包装根据BomId拆解生产任务接口

This commit is contained in:
DEVICE8\12494
2023-05-15 18:11:11 +08:00
parent 6e9d1169ce
commit ed87bd712c
5 changed files with 186 additions and 84 deletions

View File

@@ -1010,7 +1010,7 @@ public class DataInterfaceService : IDataInterfaceService, IDynamicApiController
// 将逗号替换成一个单引号、逗号、单引号
item.defaultValue = item.defaultValue?.Replace(",", "','");
entity.Query = entity.Query?.Replace("{" + item.field + "}", "'" + item.defaultValue + "'");
entity.Query = entity.Query?.Replace("{" + item.field + "}", item.defaultValue); //自动加引号去掉 modify by ly on 20230515
}
else
entity.Query = entity.Query?.Replace("{" + item.field + "}", item.defaultValue);