Browse Source

2023-12-6 代码生成bug修改,新增编码规则配置

develop
zhousq 11 months ago
parent
commit
a0e908047b
  1. 4
      lzbi-generator/src/main/resources/vm/java/controller.java.vm
  2. 0
      lzbi-module/src/main/java/com/lzbi/code/controller/DcBusiCoderuleConfigController.java
  3. 0
      lzbi-module/src/main/java/com/lzbi/code/domain/DcBaseCoderuleDefine.java
  4. 0
      lzbi-module/src/main/java/com/lzbi/code/domain/DcBusiCoderuleConfig.java
  5. 0
      lzbi-module/src/main/java/com/lzbi/code/mapper/DcBusiCoderuleConfigMapper.java
  6. 0
      lzbi-module/src/main/java/com/lzbi/code/service/DcBusiCoderuleConfigService.java
  7. 0
      lzbi-module/src/main/resources/mapper/asset/DcBusiCoderuleConfigMapper.xml

4
lzbi-generator/src/main/resources/vm/java/controller.java.vm

@ -52,13 +52,13 @@ public class ${ClassName}Controller extends BaseController
public TableDataInfo list(${ClassName} ${ClassName}) public TableDataInfo list(${ClassName} ${ClassName})
{ {
startPage(); startPage();
List< ${ClassName}> list = ${className}Service.select ${ClassName}List(${ClassName}); List< ${ClassName}> list = ${className}Service.select${ClassName}List(${ClassName});
return getDataTable(list); return getDataTable(list);
} }
#elseif($table.tree) #elseif($table.tree)
public AjaxResult list(${ClassName} ${ClassName}) public AjaxResult list(${ClassName} ${ClassName})
{ {
List< ${ClassName}> list = ${className}Service.select ${ClassName}List(${ClassName}); List< ${ClassName}> list = ${className}Service.select${ClassName}List(${ClassName});
return success(list); return success(list);
} }
#end #end

0
lzbi-module/src/main/java/com/lzbi/code/controller/DcBusiCoderuleConfigController.java

0
lzbi-module/src/main/java/com/lzbi/code/domain/DcBaseCoderuleDefine.java

0
lzbi-module/src/main/java/com/lzbi/code/domain/DcBusiCoderuleConfig.java

0
lzbi-module/src/main/java/com/lzbi/code/mapper/DcBusiCoderuleConfigMapper.java

0
lzbi-module/src/main/java/com/lzbi/code/service/DcBusiCoderuleConfigService.java

0
lzbi-module/src/main/resources/mapper/asset/DcBusiCoderuleConfigMapper.xml

Loading…
Cancel
Save