26 lines
810 B
Plaintext
26 lines
810 B
Plaintext
<#if isWithPackage?exists && isWithPackage==true>package ${packageName}.mapper;</#if>
|
|
<#if isAutoImport?exists && isAutoImport==true>import ${packageName}.entity.${classInfo.className};
|
|
|
|
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
|
|
<#list classInfo.fieldList as fieldItem >
|
|
<#if fieldItem.fieldClass == "Date">
|
|
<#assign importDdate = true />
|
|
</#if>
|
|
</#list>
|
|
</#if>
|
|
<#if importDdate?exists && importDdate==true>import java.util.Date;</#if>
|
|
import java.util.List;
|
|
import io.mybatis.mapper.Mapper;
|
|
</#if>
|
|
/**
|
|
* @description ${classInfo.classComment}
|
|
* @author ${authorName}
|
|
* @date ${.now?string('yyyy-MM-dd')}
|
|
*/
|
|
@org.apache.ibatis.annotations.Mapper
|
|
public interface ${classInfo.className}Mapper extends Mapper<${classInfo.className},Integer> {
|
|
|
|
|
|
|
|
}
|