mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
### 更改目的 代码生成修复了的一些小问题
### 描述 代码生成修复了的一些小问题 ### 测试 生成代码测试
This commit is contained in:
parent
d40667a798
commit
aebe45bdae
@ -2,6 +2,7 @@ package ${packageName}.domain;
|
|||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@ -28,6 +29,7 @@ import com.ruoyi.common.core.domain.TreeEntity;
|
|||||||
#set($Entity="TreeEntity<${ClassName}>")
|
#set($Entity="TreeEntity<${ClassName}>")
|
||||||
#end
|
#end
|
||||||
@Data
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
@TableName("${tableName}")
|
@TableName("${tableName}")
|
||||||
public class ${ClassName} extends ${Entity} {
|
public class ${ClassName} extends ${Entity} {
|
||||||
|
|
||||||
|
|||||||
@ -31,7 +31,8 @@ public interface I${ClassName}Service {
|
|||||||
/**
|
/**
|
||||||
* 查询${functionName}列表
|
* 查询${functionName}列表
|
||||||
*
|
*
|
||||||
* @param ${className} ${functionName}
|
* @param bo ${functionName}
|
||||||
|
* @param pageQuery 分页查询实体类
|
||||||
* @return ${functionName}集合
|
* @return ${functionName}集合
|
||||||
*/
|
*/
|
||||||
TableDataInfo<${ClassName}Vo> queryPageList(${ClassName}Bo bo, PageQuery pageQuery);
|
TableDataInfo<${ClassName}Vo> queryPageList(${ClassName}Bo bo, PageQuery pageQuery);
|
||||||
@ -40,7 +41,7 @@ public interface I${ClassName}Service {
|
|||||||
/**
|
/**
|
||||||
* 查询${functionName}列表
|
* 查询${functionName}列表
|
||||||
*
|
*
|
||||||
* @param ${className} ${functionName}
|
* @param bo ${functionName}
|
||||||
* @return ${functionName}集合
|
* @return ${functionName}集合
|
||||||
*/
|
*/
|
||||||
List<${ClassName}Vo> queryList(${ClassName}Bo bo);
|
List<${ClassName}Vo> queryList(${ClassName}Bo bo);
|
||||||
@ -48,7 +49,7 @@ public interface I${ClassName}Service {
|
|||||||
/**
|
/**
|
||||||
* 修改${functionName}
|
* 修改${functionName}
|
||||||
*
|
*
|
||||||
* @param ${className} ${functionName}
|
* @param bo ${functionName}
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
Boolean insertByBo(${ClassName}Bo bo);
|
Boolean insertByBo(${ClassName}Bo bo);
|
||||||
@ -56,7 +57,7 @@ public interface I${ClassName}Service {
|
|||||||
/**
|
/**
|
||||||
* 修改${functionName}
|
* 修改${functionName}
|
||||||
*
|
*
|
||||||
* @param ${className} ${functionName}
|
* @param bo ${functionName}
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
Boolean updateByBo(${ClassName}Bo bo);
|
Boolean updateByBo(${ClassName}Bo bo);
|
||||||
@ -64,7 +65,7 @@ public interface I${ClassName}Service {
|
|||||||
/**
|
/**
|
||||||
* 校验并批量删除${functionName}信息
|
* 校验并批量删除${functionName}信息
|
||||||
*
|
*
|
||||||
* @param ${pkColumn.javaField}s 需要删除的${functionName}主键集合
|
* @param ids 需要删除的${functionName}主键集合
|
||||||
* @param isValid 是否校验,true-删除前校验,false-不校验
|
* @param isValid 是否校验,true-删除前校验,false-不校验
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -141,7 +141,8 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service {
|
|||||||
/**
|
/**
|
||||||
* 批量删除${functionName}
|
* 批量删除${functionName}
|
||||||
*
|
*
|
||||||
* @param ${pkColumn.javaField}s 需要删除的${functionName}主键
|
* @param ids 需要删除的${functionName}主键
|
||||||
|
* @param isValid 是否校验,true-删除前校验,false-不校验
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user