Commit c45d7db8 by 熊付

【存储过程日志打印】

1 parent f729106c
...@@ -16,7 +16,8 @@ public class Timer { ...@@ -16,7 +16,8 @@ public class Timer {
@Scheduled(fixedRate=7200000) @Scheduled(fixedRate=7200000)
public void start() { public void start() {
logger.info("定时更新启动"); logger.info("定时更新启动");
contractMapper.timeUpdate(); String is_success = contractMapper.timeUpdate();
System.out.println("存储过程执行结果:"+is_success);
} }
} }
...@@ -745,7 +745,7 @@ ...@@ -745,7 +745,7 @@
delete from tb_contract where contract_unid = #{contract_unid} delete from tb_contract where contract_unid = #{contract_unid}
</delete> </delete>
<select id="timeUpdate" resultType="String"> <select id="timeUpdate" resultType="java.lang.String">
select timing_update_amount_state() select timing_update_amount_state()
</select> </select>
</mapper> </mapper>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!