Commit da2ee2e8 by ilal

提醒

parent 1991970a
......@@ -102,7 +102,7 @@ public class AttendanceTaskTiming{
// @Scheduled(cron = "0 */5 * * * ?")
// @Scheduled(cron = "0 6 17 * * ?")
@Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
// @Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
public void AttendanceTask() throws ParseException {
boolean implement = true;
......
......@@ -94,7 +94,7 @@ public class LastMonthtimingExport {
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
// @Scheduled(cron = "0 48 16 * * ?")
@Scheduled(cron = "0 0 4,20 * * ?")//每天上午4点,下午20点 执行
// @Scheduled(cron = "0 0 4,20 * * ?")//每天上午4点,下午20点 执行
public void LastMonthtimingAttendanceTask() throws ParseException {
//获取前月的最后一天
......
<?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="cn.timer.api.dao.htzz.HtzzAdminZzdaMapper">
<resultMap id="BaseResultMap" type="cn.timer.api.bean.htzz.HtzzAdminZzda" >
<id column="id" property="id" />
<result column="czrdh" property="czrdh" />
<result column="czry" property="czry" />
<result column="fzjg" property="fzjg" />
<result column="fzrq" property="fzrq" />
<result column="lrrid" property="lrrid" />
<result column="lrsj_time" property="lrsjTime" />
<result column="org_code" property="orgCode" />
<result column="txkg_type" property="txkgType" />
<result column="yxdqr" property="yxdqr" />
<result column="yxksr" property="yxksr" />
<result column="zjbh" property="zjbh" />
<result column="zjfj" property="zjfj" />
<result column="zjmc" property="zjmc" />
<result column="is_delete" property="isDelete" />
<result column="template_id" property="templateId" />
</resultMap>
<sql id="Base_Column_List">
id,
czrdh,
czry,
fzjg,
fzrq,
lrrid,
lrsj_time,
org_code,
txkg_type,
yxdqr,
yxksr,
zjbh,
zjfj,
zjmc,
is_delete,
template_id
</sql>
<sql id="Base_Column_List_Alias">
id HtzzAdminZzda_id,
czrdh HtzzAdminZzda_czrdh,
czry HtzzAdminZzda_czry,
fzjg HtzzAdminZzda_fzjg,
fzrq HtzzAdminZzda_fzrq,
lrrid HtzzAdminZzda_lrrid,
lrsj_time HtzzAdminZzda_lrsj_time,
org_code HtzzAdminZzda_org_code,
txkg_type HtzzAdminZzda_txkg_type,
yxdqr HtzzAdminZzda_yxdqr,
yxksr HtzzAdminZzda_yxksr,
zjbh HtzzAdminZzda_zjbh,
zjfj HtzzAdminZzda_zjfj,
zjmc HtzzAdminZzda_zjmc,
is_delete HtzzAdminZzda_is_delete,
template_id HtzzAdminZzda_template_id
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.htzz.HtzzAdminZzda">
INSERT INTO htzz_admin_zzda
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != czrdh'>
czrdh,
</if>
<if test ='null != czry'>
czry,
</if>
<if test ='null != fzjg'>
fzjg,
</if>
<if test ='null != fzrq'>
fzrq,
</if>
<if test ='null != lrrid'>
lrrid,
</if>
<if test ='null != lrsjTime'>
lrsj_time,
</if>
<if test ='null != orgCode'>
org_code,
</if>
<if test ='null != txkgType'>
txkg_type,
</if>
<if test ='null != yxdqr'>
yxdqr,
</if>
<if test ='null != yxksr'>
yxksr,
</if>
<if test ='null != zjbh'>
zjbh,
</if>
<if test ='null != zjfj'>
zjfj,
</if>
<if test ='null != zjmc'>
zjmc,
</if>
<if test ='null != isDelete'>
is_delete,
</if>
<if test ='null != templateId'>
template_id
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != czrdh'>
#{czrdh},
</if>
<if test ='null != czry'>
#{czry},
</if>
<if test ='null != fzjg'>
#{fzjg},
</if>
<if test ='null != fzrq'>
#{fzrq},
</if>
<if test ='null != lrrid'>
#{lrrid},
</if>
<if test ='null != lrsjTime'>
#{lrsjTime},
</if>
<if test ='null != orgCode'>
#{orgCode},
</if>
<if test ='null != txkgType'>
#{txkgType},
</if>
<if test ='null != yxdqr'>
#{yxdqr},
</if>
<if test ='null != yxksr'>
#{yxksr},
</if>
<if test ='null != zjbh'>
#{zjbh},
</if>
<if test ='null != zjfj'>
#{zjfj},
</if>
<if test ='null != zjmc'>
#{zjmc},
</if>
<if test ='null != isDelete'>
#{isDelete},
</if>
<if test ='null != templateId'>
#{templateId}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM htzz_admin_zzda
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.htzz.HtzzAdminZzda">
UPDATE htzz_admin_zzda
<set>
<if test ='null != czrdh'>czrdh = #{czrdh},</if>
<if test ='null != czry'>czry = #{czry},</if>
<if test ='null != fzjg'>fzjg = #{fzjg},</if>
<if test ='null != fzrq'>fzrq = #{fzrq},</if>
<if test ='null != lrrid'>lrrid = #{lrrid},</if>
<if test ='null != lrsjTime'>lrsj_time = #{lrsjTime},</if>
<if test ='null != orgCode'>org_code = #{orgCode},</if>
<if test ='null != txkgType'>txkg_type = #{txkgType},</if>
<if test ='null != yxdqr'>yxdqr = #{yxdqr},</if>
<if test ='null != yxksr'>yxksr = #{yxksr},</if>
<if test ='null != zjbh'>zjbh = #{zjbh},</if>
<if test ='null != zjfj'>zjfj = #{zjfj},</if>
<if test ='null != zjmc'>zjmc = #{zjmc},</if>
<if test ='null != isDelete'>is_delete = #{isDelete},</if>
<if test ='null != templateId'>template_id = #{templateId}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM htzz_admin_zzda
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM htzz_admin_zzda
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM htzz_admin_zzda
</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="cn.timer.api.dao.htzz.HtzzAssoHtgxMapper">
<resultMap id="BaseResultMap" type="cn.timer.api.bean.htzz.HtzzAssoHtgx" >
<id column="id" property="id" />
<result column="htid" property="htid" />
<result column="org_code" property="orgCode" />
<result column="tzrid" property="tzrid" />
<result column="name" property="name" />
<result column="phone" property="phone" />
</resultMap>
<sql id="Base_Column_List">
id,
htid,
org_code,
tzrid,
name,
phone
</sql>
<sql id="Base_Column_List_Alias">
id HtzzAssoHtgx_id,
htid HtzzAssoHtgx_htid,
org_code HtzzAssoHtgx_org_code,
tzrid HtzzAssoHtgx_tzrid,
name HtzzAssoHtgx_name,
phone HtzzAssoHtgx_phone
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.htzz.HtzzAssoHtgx">
INSERT INTO htzz_asso_htgx
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != htid'>
htid,
</if>
<if test ='null != orgCode'>
org_code,
</if>
<if test ='null != tzrid'>
tzrid,
</if>
<if test ='null != name'>
name,
</if>
<if test ='null != phone'>
phone
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != htid'>
#{htid},
</if>
<if test ='null != orgCode'>
#{orgCode},
</if>
<if test ='null != tzrid'>
#{tzrid},
</if>
<if test ='null != name'>
#{name},
</if>
<if test ='null != phone'>
#{phone}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM htzz_asso_htgx
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.htzz.HtzzAssoHtgx">
UPDATE htzz_asso_htgx
<set>
<if test ='null != htid'>htid = #{htid},</if>
<if test ='null != orgCode'>org_code = #{orgCode},</if>
<if test ='null != tzrid'>tzrid = #{tzrid},</if>
<if test ='null != name'>name = #{name},</if>
<if test ='null != phone'>phone = #{phone}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM htzz_asso_htgx
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM htzz_asso_htgx
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM htzz_asso_htgx
</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="cn.timer.api.dao.htzz.HtzzAssoZztxMapper">
<resultMap id="BaseResultMap" type="cn.timer.api.bean.htzz.HtzzAssoZztx" >
<id column="id" property="id" />
<result column="cffs" property="cffs" />
<result column="is_email" property="isEmail" />
<result column="is_message" property="isMessage" />
<result column="lrrid" property="lrrid" />
<result column="lrsj_time" property="lrsjTime" />
<result column="name" property="name" />
<result column="org_code" property="orgCode" />
<result column="txsj" property="txsj" />
<result column="zzda_id" property="zzdaId" />
</resultMap>
<sql id="Base_Column_List">
id,
cffs,
is_email,
is_message,
lrrid,
lrsj_time,
name,
org_code,
txsj,
zzda_id
</sql>
<sql id="Base_Column_List_Alias">
id HtzzAssoZztx_id,
cffs HtzzAssoZztx_cffs,
is_email HtzzAssoZztx_is_email,
is_message HtzzAssoZztx_is_message,
lrrid HtzzAssoZztx_lrrid,
lrsj_time HtzzAssoZztx_lrsj_time,
name HtzzAssoZztx_name,
org_code HtzzAssoZztx_org_code,
txsj HtzzAssoZztx_txsj,
zzda_id HtzzAssoZztx_zzda_id
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.htzz.HtzzAssoZztx">
INSERT INTO htzz_asso_zztx
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != cffs'>
cffs,
</if>
<if test ='null != isEmail'>
is_email,
</if>
<if test ='null != isMessage'>
is_message,
</if>
<if test ='null != lrrid'>
lrrid,
</if>
<if test ='null != lrsjTime'>
lrsj_time,
</if>
<if test ='null != name'>
name,
</if>
<if test ='null != orgCode'>
org_code,
</if>
<if test ='null != txsj'>
txsj,
</if>
<if test ='null != zzdaId'>
zzda_id
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != cffs'>
#{cffs},
</if>
<if test ='null != isEmail'>
#{isEmail},
</if>
<if test ='null != isMessage'>
#{isMessage},
</if>
<if test ='null != lrrid'>
#{lrrid},
</if>
<if test ='null != lrsjTime'>
#{lrsjTime},
</if>
<if test ='null != name'>
#{name},
</if>
<if test ='null != orgCode'>
#{orgCode},
</if>
<if test ='null != txsj'>
#{txsj},
</if>
<if test ='null != zzdaId'>
#{zzdaId}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM htzz_asso_zztx
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.htzz.HtzzAssoZztx">
UPDATE htzz_asso_zztx
<set>
<if test ='null != cffs'>cffs = #{cffs},</if>
<if test ='null != isEmail'>is_email = #{isEmail},</if>
<if test ='null != isMessage'>is_message = #{isMessage},</if>
<if test ='null != lrrid'>lrrid = #{lrrid},</if>
<if test ='null != lrsjTime'>lrsj_time = #{lrsjTime},</if>
<if test ='null != name'>name = #{name},</if>
<if test ='null != orgCode'>org_code = #{orgCode},</if>
<if test ='null != txsj'>txsj = #{txsj},</if>
<if test ='null != zzdaId'>zzda_id = #{zzdaId}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM htzz_asso_zztx
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM htzz_asso_zztx
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM htzz_asso_zztx
</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