ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
在application.properties文件中walkbatis.isHotDeploy配置 ~~~ #是否开启热部署 walkbatis.isHotDeploy=true ~~~ 1、设置为true后,修改xml中的sql后可不用重启 2、并且可将值绑定后的sql语句输出到控制台,如下 ~~~ [0.539s]UserSQL.findUser ==> SELECT A.STAFF_ID, A.DEPART_ID, A.STAFF_NAME, A.STAFF_TYPE, A.JOB_CODE, A.MANAGER_INFO, A.SEX, A.EMAIL, A.SERIAL_NUMBER, A.BIRTHDAY, B.AREA_CODE CITY_CODE, B.EPARCHY_CODE, CASE WHEN B.TEAM_TAG = '1' THEN A.DEPART_ID ELSE NULL END TEAM_CODE, A.IS_TEAM_MANAGER, C.STAFF_PASSWD FROM TD_M_STAFF A, TD_M_DEPART B, TF_M_STAFFPASSWD C WHERE 1 = 1 AND A.DEPART_ID = B.DEPART_ID AND A.STAFF_ID = C.STAFF_ID AND A.DIMISSION_TAG = '0' AND A.START_DATE <= TO_DATE('2018-06-25 09:59:50','YYYY-MM-DD HH24:MI:SS') AND A.END_DATE >= TO_DATE('2018-06-25 09:59:50','YYYY-MM-DD HH24:MI:SS') AND A.STAFF_ID = 'admin' [0.092s]UserSQL.findOrganization ==> SELECT A.* FROM TD_M_DEPART A WHERE 1 = 1 AND A.DEPART_ID = '123' ~~~