midway-fatcms 0.0.1-beta.51 → 0.0.1-beta.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -56,9 +56,6 @@ let PublicApiController = class PublicApiController extends BaseApiController_1.
|
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
58
|
const rows = await this.sysDBUtil.getList({ condition }, SystemTables_1.SystemTables.sys_menus);
|
|
59
|
-
if (!rows || rows.length === 0) {
|
|
60
|
-
return common_dto_1.CommonResult.errorRes('sys_config is null', '', { condition });
|
|
61
|
-
}
|
|
62
59
|
const map = {};
|
|
63
60
|
for (let i = 0; i < rows.length; i++) {
|
|
64
61
|
const rowElement = rows[i];
|
|
@@ -233,7 +233,8 @@ let CrudStdService = class CrudStdService extends ApiBaseService_1.ApiBaseServic
|
|
|
233
233
|
}
|
|
234
234
|
const partialConditionObj = (0, functions_1.parseJsonObject)(partialCondition);
|
|
235
235
|
if (Object.keys(partialConditionObj).length > 0) {
|
|
236
|
-
|
|
236
|
+
// partialConditionObj 配置的是 condition.xxxx = xx的形式
|
|
237
|
+
_.merge(cfgModel.updateCfg, partialConditionObj);
|
|
237
238
|
}
|
|
238
239
|
}
|
|
239
240
|
async fixSubmitDataByKeepSubmitData(params, cfgModel, appInfo, arg3) {
|