Files
lc_backend/jeelowcode-module/jeelowcode-module-biz/src/main/resources/mapper/AlibabaWorkOrderMapper.xml

16 lines
628 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.jeelowcode.module.biz.mapper.AlibabaWorkOrderMapper">
<!-- 查询最大更新时间 -->
<select id="selectMaxUpdateTime" resultType="java.time.LocalDateTime">
select greatest(
max(gmt_modified),
max(gmt_sub_modified),
max(gmt_relate_modified),
max(gmt_relate_sub_modified)
)
from lc_alibaba_work_order
</select>
</mapper>