修改移动端内容,后端添加了所有查询接口
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?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.klp.pocket.mapper.Klptcm1ShiftCurrentMapper">
|
||||
|
||||
<!-- 结果集映射 -->
|
||||
<resultMap id="ShiftCurrentVoResultMap" type="com.klp.pocket.domain.vo.Klptcm1ShiftCurrentVo">
|
||||
<result column="SHIFT" property="shift" jdbcType="VARCHAR"/>
|
||||
<result column="CREW" property="crew" jdbcType="DECIMAL"/>
|
||||
<result column="SEQ_NUM" property="seqNum" jdbcType="DECIMAL"/>
|
||||
<result column="SYS_TIME" property="sysTime" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询当前班组信息 -->
|
||||
<select id="selectCurrent" resultMap="ShiftCurrentVoResultMap">
|
||||
SELECT SHIFT, CREW, SEQ_NUM, SYS_TIME
|
||||
FROM klptcm1_shift_current
|
||||
ORDER BY SYS_TIME DESC
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user