Browse Source

优化代码生成模板

pull/314/head
RuoYi 3 years ago
parent
commit
c7317ee5b2
  1. 2
      ruoyi-generator/src/main/resources/vm/java/service.java.vm
  2. 4
      ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm

2
ruoyi-generator/src/main/resources/vm/java/service.java.vm

@ -49,7 +49,7 @@ public interface I${ClassName}Service
/**
* 批量删除${functionName}
*
* @param ${pkColumn.javaField}s 需要删除的数据主键集合
* @param ${pkColumn.javaField}s 需要删除的${functionName}主键集合
* @return 结果
*/
public int delete${ClassName}By${pkColumn.capJavaField}s(String ${pkColumn.javaField}s);

4
ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm

@ -111,9 +111,9 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
}
/**
* 删除${functionName}对象
* 批量删除${functionName}
*
* @param ${pkColumn.javaField}s 需要删除的数据主键
* @param ${pkColumn.javaField}s 需要删除的${functionName}主键
* @return 结果
*/
#if($table.sub)

Loading…
Cancel
Save