Commit 00660124 authored by maqing's avatar maqing

签到

parent 6c461d39
......@@ -139,18 +139,7 @@
</where>
ORDER BY T1.EFF_TIME DESC
</select>
<select id="chSrvTaskDetailQuery" resultType="com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail">
SELECT
decode(t.STATUS, '0', '未执行', '1', '执行中', '2', '已执行', '4', '已完成') AS "status",
t.SRV_START_TIME sevStarTime,
t.SRV_END_TIME sevEndTime,
t.*
FROM
ch_srv_task_detail t
LEFT JOIN ch_srv_task k ON t.SRV_TASK_ID = k.SRV_TASK_ID
WHERE
K.SRV_EMP_ID =#{empid}
</select>
</mapper>
\ No newline at end of file
<?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.hungraim.ltc.governance.dao.ChSrvTaskDetailMapper">
<resultMap id="BaseResultMap" type="com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail">
<id column="TASK_DETAIL_ID" jdbcType="DECIMAL" property="taskDetailId" />
<result column="SRV_TASK_ID" jdbcType="DECIMAL" property="srvTaskId" />
<result column="STATUS" jdbcType="DECIMAL" property="status" />
<result column="DEFINE_EMP" jdbcType="DECIMAL" property="defineEmp" />
<result column="EFF_TIME" jdbcType="TIMESTAMP" property="effTime" />
<result column="END_EMP" jdbcType="DECIMAL" property="endEmp" />
<result column="END_TIME" jdbcType="TIMESTAMP" property="endTime" />
<result column="FCD" jdbcType="TIMESTAMP" property="fcd" />
<result column="FCU" jdbcType="DECIMAL" property="fcu" />
<result column="LCD" jdbcType="TIMESTAMP" property="lcd" />
<result column="LCU" jdbcType="DECIMAL" property="lcu" />
<result column="SRV_START_TIME" jdbcType="TIMESTAMP" property="srvStartTime" />
<result column="SRV_END_TIME" jdbcType="TIMESTAMP" property="srvEndTime" />
<result column="SRV_TIME" jdbcType="DECIMAL" property="srvTime" />
<result column="SRV_START_PIC" jdbcType="VARCHAR" property="srvStartPic" />
<result column="SRV_END_PIC" jdbcType="VARCHAR" property="srvEndPic" />
<result column="REMARK" jdbcType="VARCHAR" property="remark" />
<result column="SRV_SCORE" jdbcType="VARCHAR" property="srvScore" />
<result column="TASK_TYPE" jdbcType="DECIMAL" property="taskType" />
<result column="DATA_FROM" jdbcType="DECIMAL" property="dataFrom" />
<result column="WEB_DEFINE_EMP" jdbcType="DECIMAL" property="webDefineEmp" />
<result column="WEB_END_EMP" jdbcType="DECIMAL" property="webEndEmp" />
<result column="SRV_DATE" jdbcType="TIMESTAMP" property="srvDate" />
<result column="SRV_AMOUNT" jdbcType="DECIMAL" property="srvAmount" />
<result column="SELF_AMOUNT" jdbcType="DECIMAL" property="selfAmount" />
<result column="LONGITUDE_CODE" jdbcType="VARCHAR" property="longitudeCode" />
<result column="LATITUDE_CODE" jdbcType="VARCHAR" property="latitudeCode" />
<result column="SRV_TIME_START_TIME" jdbcType="TIMESTAMP" property="srvTimeStartTime" />
<result column="SRV_TIME_END_TIME" jdbcType="TIMESTAMP" property="srvTimeEndTime" />
<result column="SRV_TIME_START_PIC" jdbcType="VARCHAR" property="srvTimeStartPic" />
<result column="SRV_TIME_END_PIC" jdbcType="VARCHAR" property="srvTimeEndPic" />
<result column="SRV_TIME_CHARGE" jdbcType="DECIMAL" property="srvTimeCharge" />
<result column="SRV_TIME_REMARK" jdbcType="VARCHAR" property="srvTimeRemark" />
<result column="FINISH_FLAG" jdbcType="VARCHAR" property="finishFlag" />
<result column="AUDIT_RESULT" jdbcType="DECIMAL" property="auditResult" />
<result column="AUDIT_REMARK" jdbcType="VARCHAR" property="auditRemark" />
<result column="AUDIT_DATE" jdbcType="TIMESTAMP" property="auditDate" />
<result column="ILLEGAL_TYPE" jdbcType="DECIMAL" property="illegalType" />
<result column="ILLEGAL_REMARK" jdbcType="VARCHAR" property="illegalRemark" />
<result column="ILLEGALRE_EMP" jdbcType="DECIMAL" property="illegalreEmp" />
<result column="ILLEGALRE_NAME" jdbcType="VARCHAR" property="illegalreName" />
<result column="ILLEGALRE_TIME" jdbcType="TIMESTAMP" property="illegalreTime" />
<result column="ACCOUNT_SIGN" jdbcType="DECIMAL" property="accountSign" />
<result column="TASK_DETAIL_TYPE" jdbcType="DECIMAL" property="taskDetailType" />
</resultMap>
<sql id="Base_Column_List">
TASK_DETAIL_ID, SRV_TASK_ID, "STATUS", DEFINE_EMP, EFF_TIME, END_EMP, END_TIME, FCD,
FCU, LCD, LCU, SRV_START_TIME, SRV_END_TIME, SRV_TIME, SRV_START_PIC, SRV_END_PIC,
REMARK, SRV_SCORE, TASK_TYPE, DATA_FROM, WEB_DEFINE_EMP, WEB_END_EMP, SRV_DATE, SRV_AMOUNT,
SELF_AMOUNT, LONGITUDE_CODE, LATITUDE_CODE, SRV_TIME_START_TIME, SRV_TIME_END_TIME,
SRV_TIME_START_PIC, SRV_TIME_END_PIC, SRV_TIME_CHARGE, SRV_TIME_REMARK, FINISH_FLAG,
AUDIT_RESULT, AUDIT_REMARK, AUDIT_DATE, ILLEGAL_TYPE, ILLEGAL_REMARK, ILLEGALRE_EMP,
ILLEGALRE_NAME, ILLEGALRE_TIME, ACCOUNT_SIGN, TASK_DETAIL_TYPE
</sql>
<select id="chSrvTaskDetailQuery" resultType="com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail">
SELECT
decode(t.STATUS, '0', '未执行', '1', '执行中', '2', '已执行', '4', '已完成') AS "status",
t.SRV_START_TIME sevStarTime,
t.SRV_END_TIME sevEndTime,
t.*
FROM
ch_srv_task_detail t
LEFT JOIN ch_srv_task k ON t.SRV_TASK_ID = k.SRV_TASK_ID
WHERE
K.SRV_EMP_ID =#{empid}
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment