OA无流程表单公用删除接口

This commit is contained in:
yuqh 2024-09-10 09:42:58 +08:00
parent 1885e7f670
commit 8ed593f536
1 changed files with 14 additions and 9 deletions

View File

@ -321,7 +321,7 @@ where id = #{id}
FROM
information_schema.TABLES
WHERE
TABLE_SCHEMA = 'businesscenter_kjs'
TABLE_SCHEMA = 'businesscenter'
and TABLE_NAME = #{tableName}
</select>
@ -345,7 +345,8 @@ where id = #{id}
`sts` varchar(1) DEFAULT NULL COMMENT '状态(Y正常N删除)',
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
`company_id` varchar(50) DEFAULT NULL COMMENT '公司id',
`data_id` varchar(100) DEFAULT NULL COMMENT 'data_id'
`data_id` varchar(100) DEFAULT NULL COMMENT 'data_id',
`mdm_up_id` varchar(100) DEFAULT NULL COMMENT 'mdm_up_id',
</when>
<when test="tableType == '2'.toString()">
`id` varchar(50) NOT NULL COMMENT '唯一标识码',
@ -926,7 +927,6 @@ where id = #{id}
USER_TAB_COLUMNS
WHERE
TABLE_NAME = #{tableName}
and table_schema = 'businesscenter_kjs'
</select>
@ -935,7 +935,6 @@ where id = #{id}
SELECT LOWER(COLUMN_NAME)
FROM information_schema.columns
WHERE table_name = #{tableName}
and table_schema = 'businesscenter_kjs'
</select>
<!-- 分页查询列表 采用like格式 -->
<select id="queryMdmST" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.util.HashMap">
@ -963,19 +962,25 @@ where id = #{id}
${item.leftBracket} ${item.filedId}
<choose>
<when test="item.compareType == '1'.toString() ">
=
= #{item.filedVaule}
</when>
<when test="item.compareType == '2'.toString() ">
!=
!= #{item.filedVaule}
</when>
<when test="item.compareType == '3'.toString() ">
&gt;
&gt; #{item.filedVaule}
</when>
<when test="item.compareType == '4'.toString() ">
&lt;
&lt; #{item.filedVaule}
</when>
<when test="item.compareType == '5'.toString() ">
like concat('%',#{item.filedVaule},'%')
</when>
<when test="item.compareType == '6'.toString() ">
not like concat('%',#{item.filedVaule},'%')
</when>
</choose>
#{item.filedVaule}
<choose>
<when test="item.connectionSymbol == '1'.toString() ">
<choose>