优化代码生成模板

master
RuoYi 3 years ago
parent a1cc346aca
commit de33e6ecc8
  1. 2
      ruoyi-generator/src/main/resources/vm/java/service.java.vm
  2. 4
      ruoyi-generator/src/main/resources/vm/java/serviceImpl.java.vm

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

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

Loading…
Cancel
Save