mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 15:45:08 +08:00
添加 controller.vm 的模板
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
package ${basePackage}.${table.moduleName}.convert.${table.businessName};
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import ${PageResultClassName};
|
||||
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
import ${basePackage}.${table.moduleName}.controller.${table.businessName}.vo.*;
|
||||
@ -19,4 +23,10 @@ public interface ${table.className}Convert {
|
||||
|
||||
${table.className}DO convert(${table.className}UpdateReqVO bean);
|
||||
|
||||
${table.className}RespVO convert(${table.className}DO bean);
|
||||
|
||||
List<${table.className}RespVO> convertList(List<${table.className}DO> list);
|
||||
|
||||
PageResult<${table.className}RespVO> convertPage(PageResult<${table.className}DO> page);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user