export-table-pulgin-csharp 1.0.22 → 1.0.25

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAA0B,MAAM,kBAAkB,CAAA;AAG1H,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAiQpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,IAAI,SAAW;IACf,IAAI,EAAE,MAAM,EAAE,CAAS;IAEvB,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAOpC;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,iBAAiB,EAA+B,UAAU,EAA0B,MAAM,kBAAkB,CAAA;AAG1H,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CAkQpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,IAAI,SAAW;IACf,IAAI,EAAE,MAAM,EAAE,CAAS;IAEvB,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAOpC;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
package/dist/index.js CHANGED
@@ -196,7 +196,8 @@ ${(0, export_table_lib_1.foreach)(fields, f => {
196
196
 
197
197
  #region uid map
198
198
  ${(0, export_table_lib_1.foreach)(fields, f => {
199
- if (f.nameOrigin != f.name) {
199
+ console.log(f);
200
+ if (f.isUnique) {
200
201
  return `
201
202
  protected static Dictionary<int, ${RowClass}> _tempDictBy${convMemberName(f.name)};
202
203
  public static ${RowClass} GetConfigBy${convMemberName(f.name)}(int ${convMemberName(f.name)})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.0.22",
3
+ "version": "1.0.25",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -174,7 +174,8 @@ ${foreach(fields, f => {
174
174
 
175
175
  #region uid map
176
176
  ${foreach(fields, f => {
177
- if (f.nameOrigin != f.name) {
177
+ console.log(f)
178
+ if (f.isUnique) {
178
179
  return `
179
180
  protected static Dictionary<int, ${RowClass}> _tempDictBy${convMemberName(f.name)};
180
181
  public static ${RowClass} GetConfigBy${convMemberName(f.name)}(int ${convMemberName(f.name)})