Commit 3bb69df6 authored by gary's avatar gary

sql debug

parent e6854abe
...@@ -5,31 +5,31 @@ public enum OperateLogType { ...@@ -5,31 +5,31 @@ public enum OperateLogType {
/***/ /***/
UnKnown(null, -1), UnKnown(null, -1),
/***/ /***/
OperationLogOrganization("OPERATION_LOG_ORGANIZATION", 0), OperationLogOrganization("operation_log_organization", 0),
/***/ /***/
OperationLogUser("OPERATION_LOG_USER", 1), OperationLogUser("operation_log_user", 1),
/***/ /***/
OperationLogProject("OPERATION_LOG_PROJECT", 2), OperationLogProject("operation_log_project", 2),
/***/ /***/
OperationLogBasicData("OPERATION_LOG_BASIC_DATA", 3), OperationLogBasicData("operation_log_basic_data", 3),
/***/ /***/
OperationLogReport("OPERATION_LOG_REPORT", 4), OperationLogReport("operation_log_report", 4),
/***/ /***/
OperationLogEnterPrise("OPERATION_LOG_ENTER_PRISE", 5), OperationLogEnterPrise("operation_log_enter_prise", 5),
/***/ /***/
OperationLogSubject("OPERATION_LOG_SUBJECT", 6), OperationLogSubject("operation_log_subject", 6),
/***/ /***/
OperationLogRole("OPERATION_LOG_ROLE", 7), OperationLogRole("operation_log_role", 7),
/***/ /***/
OperationLogModelConfiguration("OPERATION_LOG_MODEL_CONFIGURATION", 8), OperationLogModelConfiguration("operation_log_model_configuration", 8),
/***/ /***/
OperationLogRuleEngine("OPERATION_LOG_RULE_ENGINE", 9), OperationLogRuleEngine("operation_log_rule_engine", 9),
/***/ /***/
OperationLogKeyvalue("OPERATION_LOG_KEYVALUE", 10), OperationLogKeyvalue("operation_log_keyvalue", 10),
/***/ /***/
OperationLogWorkflow("OPERATION_LOG_WORK_FLOW", 11), OperationLogWorkflow("operation_log_work_flow", 11),
/***/ /***/
OperationLogStock("OPERATION_LOG_STOCK", 12), OperationLogStock("operation_log_stock", 12),
/***/ /***/
; ;
/***/ /***/
......
...@@ -479,5 +479,4 @@ public class OperationLogServiceImpl extends AbstractService { ...@@ -479,5 +479,4 @@ public class OperationLogServiceImpl extends AbstractService {
addLog.setLogType(logType.value()); addLog.setLogType(logType.value());
this.addOperationLog(addLog); this.addOperationLog(addLog);
} }
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<select id="getModelListByIndustry" parameterType="map" resultMap="getModelListByIndustryResult"> <select id="getModelListByIndustry" parameterType="map" resultMap="getModelListByIndustryResult">
SELECT SELECT
M.id as ID, m.id as ID,
m.name AS NAME, m.name AS NAME,
mc.category_id AS CATEGORY_ID, mc.category_id AS CATEGORY_ID,
cat.category AS CATEGORY_STRING, cat.category AS CATEGORY_STRING,
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
org.industry_id = i.id org.industry_id = i.id
WHERE WHERE
org.industry_id = #{industryID,jdbcType=VARCHAR} org.industry_id = #{industryID,jdbcType=VARCHAR}
AND ST.id = #{serviceTypeID,jdbcType=VARCHAR} AND st.id = #{serviceTypeID,jdbcType=VARCHAR}
ORDER BY ORDER BY
m.code m.code
</select> </select>
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
ip, ip,
</if> </if>
<if test="@org.apache.commons.lang3.StringUtils@isNotBlank(comment)"> <if test="@org.apache.commons.lang3.StringUtils@isNotBlank(comment)">
"COMMENT", comment,
</if> </if>
<if test="createTime != null"> <if test="createTime != null">
create_time create_time
......
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