zs
2025-05-06 b75b10418fbc2df069aeb7a4b15e6e65690d133a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
 
using GenerateCode_WeiBen_WMS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace GenerateCode_GEBrilliantFactory
{
    /// <summary>
    /// 生成查询实体类
    /// </summary>
    public class EntityNameClass_Config_Generate : BaseGenerate
    {
        public static string CreateText(GenerateCodeParam param)
        {
            var str = TextHelper.ReadText(@"Templete\Web\Views\Pages\EntityNameClass\EntityNameClass_Config模板.txt");
            CommonReplace(ref str);
 
            CommonHelper.CommonReplaceStr(param, ref str);
 
 
            string attrString = "";
            attrString += StructStrHelper.GetVueFormOptionsStr_EntityNameClass_Config_Attrs(param.ColumnNameList, param);
            str = str.Replace("$EntityNameClass_Config_Attrs$", attrString);
 
 
 
            return str;
        }
    }
}