update:医保对账

This commit is contained in:
Yuan
2025-10-27 08:49:28 +08:00
parent 94e8850a40
commit 3e9a25dd38
32 changed files with 2134 additions and 38 deletions

View File

@@ -7,6 +7,7 @@
<result column="QUARTZ_GROUP" property="quartzGroup" jdbcType="VARCHAR" />
<result column="STATUS" property="status" jdbcType="VARCHAR" />
<result column="QUARTZ_CLASS" property="quartzClass" jdbcType="VARCHAR" />
<result column="QUARTZ_TYPE" property="quartzType" jdbcType="VARCHAR" />
<result column="REMARK" property="remark" jdbcType="VARCHAR" />
<result column="CREATEUSERID" property="createUserId" jdbcType="VARCHAR" />
<result column="EXPRESSION" property="expression" jdbcType="VARCHAR" />
@@ -16,12 +17,15 @@
<!-- 查询所有任务 -->
<select id="findAll" parameterType="HashMap" resultMap="BaseResultMap">
select bqc.CONFIGID,bqc.QUARTZ_NAME,bqc.QUARTZ_GROUP,bqc.STATUS,bqc.QUARTZ_CLASS,bqc.REMARK,bqc.CREATEUSERID,bqc.EXPRESSION,bqc.CREATE_TIME from base_quartz_config bqc
select bqc.CONFIGID,bqc.QUARTZ_NAME,bqc.QUARTZ_GROUP,bqc.STATUS,bqc.QUARTZ_CLASS,bqc.QUARTZ_TYPE,bqc.REMARK,bqc.CREATEUSERID,bqc.EXPRESSION,bqc.CREATE_TIME from base_quartz_config bqc
<where>
<if test="part_name!=null and part_name!=''">
<if test="quartz_name!=null and quartz_name!=''">
and bqc.QUARTZ_NAME like concat('%',concat(#{quartz_name},'%'))
</if>
<if test="part_type!=null and part_type!=''">
<if test="quartz_type!=null and quartz_type!=''">
and bqc.QUARTZ_TYPE = #{quartz_type}
</if>
<if test="configId!=null and configId!=''">
and bqc.CONFIGID = #{configId}
</if>
</where>
@@ -30,14 +34,14 @@
<!-- 根据id查询定时任务 -->
<select id="findEntityById" resultMap="BaseResultMap">
select CONFIGID,QUARTZ_NAME,QUARTZ_GROUP,STATUS,QUARTZ_CLASS,REMARK,CREATEUSERID,EXPRESSION,CREATE_TIME from base_quartz_config
select CONFIGID,QUARTZ_NAME,QUARTZ_GROUP,STATUS,QUARTZ_CLASS,QUARTZ_TYPE,REMARK,CREATEUSERID,EXPRESSION,CREATE_TIME from base_quartz_config
where CONFIGID=#{id}
</select>
<!-- 更新定时任务 -->
<update id="updateQuartzConfigByEntity" parameterType="com.saye.hospitalgd.model.BaseQuartzConfigEntity">
update base_quartz_config set QUARTZ_NAME=#{quartzName},QUARTZ_GROUP=#{quartzGroup},STATUS=#{status},QUARTZ_CLASS=#{quartzClass}
,REMARK=#{remark},CREATEUSERID=#{createUserId},EXPRESSION=#{expression}
,QUARTZ_TYPE=#{quartzType},REMARK=#{remark},CREATEUSERID=#{createUserId},EXPRESSION=#{expression}
where CONFIGID=#{configId}
</update>
@@ -53,14 +57,14 @@
<!-- 添加定时任务 -->
<insert id="addQuartz" parameterType="hashMap">
insert into base_quartz_config(configid, quartz_name, status, quartz_class, remark, createuserid, expression, create_time)
values(#{id},#{quartzName},#{status}, #{quartz_class}, #{remark}, #{createuserid}, #{expression}, #{create_time} )
insert into base_quartz_config(configid, quartz_name, status, quartz_class, quartz_type, remark, createuserid, expression, create_time)
values(#{id},#{quartzName},#{status}, #{quartz_class}, #{quartz_type}, #{remark}, #{createuserid}, #{expression}, #{create_time} )
</insert>
<!-- 更新定时任务信息 -->
<update id="updateQuartzConfigById">
update base_quartz_config set QUARTZ_NAME=#{quartzName},QUARTZ_GROUP=#{quartzGroup},QUARTZ_CLASS=#{quartzClass}
,REMARK=#{remark},EXPRESSION=#{expression}
,QUARTZ_TYPE=#{quartzType},REMARK=#{remark},EXPRESSION=#{expression}
where CONFIGID=#{configId}
</update>