change - 代码生成

master
yinq 2 years ago
parent 9108cc607d
commit eeb1f08ecd

@ -73,6 +73,7 @@
AND to_char(create_time, 'yyyy-mm-dd') <= #{params.endTime}
</if>
</where>
order by create_time desc
</select>
<select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult">

@ -3,6 +3,7 @@ package ${packageName}.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.aucma.common.utils.DateUtils;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

@ -40,8 +40,8 @@ private static final long serialVersionUID=1L;
#if($parentheseIndex != -1)
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
#elseif($column.javaType == 'Date')
@JsonFormat(pattern = "yyyy-MM-dd" )
@Excel(name = "${comment}" , width = 30, dateFormat = "yyyy-MM-dd" )
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "${comment}", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
#else
@Excel(name = "${comment}")
#end

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.aucma.quartz.mapper.SysJobMapper">
<mapper namespace="com.aucma.quartz.mapper.SysJobLogMapper">
<resultMap type="SysJobLog" id="SysJobLogResult">
<id property="jobLogId" column="job_log_id" />

@ -39,6 +39,7 @@
AND to_char(create_time, 'yyyy-mm-dd') &lt;= #{params.endTime}
</if>
</where>
order by dict_id
</select>
<select id="selectDictTypeAll" resultMap="SysDictTypeResult">

Loading…
Cancel
Save