Commit 5ba8ecf7 by liuyang

2024-05-09 操作日期bug修复

parent 7371c15e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- table information <!-- table information
Generate time : 2024-02-23 15:28:50 Generate time : 2024-02-23 15:28:50
Version : 1.0 Version : 1.0
tableName :${hpjxSchema}.tsys_operation_log tableName :${hpjxSchema}.sys_operation_log
ID BIGINT NOT NULL primarykey, ID BIGINT NOT NULL primarykey,
COMPANY_CODE VARCHAR NOT NULL, COMPANY_CODE VARCHAR NOT NULL,
CREATED_BY VARCHAR, CREATED_BY VARCHAR,
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
OPER_TYPE as "operType", <!-- 操作类型 --> OPER_TYPE as "operType", <!-- 操作类型 -->
OPER_DESC as "operDesc", <!-- 操作说明 --> OPER_DESC as "operDesc", <!-- 操作说明 -->
OPER_CONTENT as "operContent" <!-- 操作内容 --> OPER_CONTENT as "operContent" <!-- 操作内容 -->
FROM ${hpjxSchema}.tsys_operation_log WHERE 1=1 FROM ${hpjxSchema}.sys_operation_log WHERE 1=1
<include refid="authCondition"/> <include refid="authCondition"/>
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode# COMPANY_CODE = #companyCode#
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</select> </select>
<select id="count" resultClass="int"> <select id="count" resultClass="int">
SELECT COUNT(*) FROM ${hpjxSchema}.tsys_operation_log WHERE 1=1 SELECT COUNT(*) FROM ${hpjxSchema}.sys_operation_log WHERE 1=1
<include refid="authCondition"/> <include refid="authCondition"/>
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode# COMPANY_CODE = #companyCode#
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
--> -->
<insert id="insert"> <insert id="insert">
INSERT INTO ${hpjxSchema}.tsys_operation_log (ID, <!-- 主键id --> INSERT INTO ${hpjxSchema}.sys_operation_log (ID, <!-- 主键id -->
COMPANY_CODE, <!-- 企业编码 --> COMPANY_CODE, <!-- 企业编码 -->
CREATED_BY, <!-- 创建人 --> CREATED_BY, <!-- 创建人 -->
CREATED_NAME, <!-- 创建人名称 --> CREATED_NAME, <!-- 创建人名称 -->
...@@ -139,12 +139,12 @@ ...@@ -139,12 +139,12 @@
</insert> </insert>
<delete id="delete"> <delete id="delete">
DELETE FROM ${hpjxSchema}.tsys_operation_log WHERE DELETE FROM ${hpjxSchema}.sys_operation_log WHERE
ID = #id# ID = #id#
</delete> </delete>
<update id="update"> <update id="update">
UPDATE ${hpjxSchema}.tsys_operation_log UPDATE ${hpjxSchema}.sys_operation_log
SET SET
COMPANY_CODE = #companyCode#, <!-- 企业编码 --> COMPANY_CODE = #companyCode#, <!-- 企业编码 -->
CREATED_BY = #createdBy#, <!-- 创建人 --> CREATED_BY = #createdBy#, <!-- 创建人 -->
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
<select id="queryOperModulComboBox" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> <select id="queryOperModulComboBox" parameterClass="java.util.HashMap" resultClass="java.util.HashMap">
SELECT SELECT
distinct OPER_MODUL as "operModul" <!-- 操作模块 --> distinct OPER_MODUL as "operModul" <!-- 操作模块 -->
FROM ${hpjxSchema}.tsys_operation_log WHERE 1=1 FROM ${hpjxSchema}.sys_operation_log WHERE 1=1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode# COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<select id="queryOperTypeComboBox" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> <select id="queryOperTypeComboBox" parameterClass="java.util.HashMap" resultClass="java.util.HashMap">
SELECT SELECT
distinct OPER_TYPE as "operType" <!-- 操作类型 --> distinct OPER_TYPE as "operType" <!-- 操作类型 -->
FROM ${hpjxSchema}.tsys_operation_log WHERE 1=1 FROM ${hpjxSchema}.sys_operation_log WHERE 1=1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode# COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
......
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