OA无流程表单公用删除接口
This commit is contained in:
parent
1885e7f670
commit
8ed593f536
|
@ -321,7 +321,7 @@ where id = #{id}
|
||||||
FROM
|
FROM
|
||||||
information_schema.TABLES
|
information_schema.TABLES
|
||||||
WHERE
|
WHERE
|
||||||
TABLE_SCHEMA = 'businesscenter_kjs'
|
TABLE_SCHEMA = 'businesscenter'
|
||||||
and TABLE_NAME = #{tableName}
|
and TABLE_NAME = #{tableName}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -345,7 +345,8 @@ where id = #{id}
|
||||||
`sts` varchar(1) DEFAULT NULL COMMENT '状态(Y正常N删除)',
|
`sts` varchar(1) DEFAULT NULL COMMENT '状态(Y正常N删除)',
|
||||||
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
`org_id` varchar(50) DEFAULT NULL COMMENT '组织机构ID',
|
||||||
`company_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>
|
||||||
<when test="tableType == '2'.toString()">
|
<when test="tableType == '2'.toString()">
|
||||||
`id` varchar(50) NOT NULL COMMENT '唯一标识码',
|
`id` varchar(50) NOT NULL COMMENT '唯一标识码',
|
||||||
|
@ -926,7 +927,6 @@ where id = #{id}
|
||||||
USER_TAB_COLUMNS
|
USER_TAB_COLUMNS
|
||||||
WHERE
|
WHERE
|
||||||
TABLE_NAME = #{tableName}
|
TABLE_NAME = #{tableName}
|
||||||
and table_schema = 'businesscenter_kjs'
|
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -935,7 +935,6 @@ where id = #{id}
|
||||||
SELECT LOWER(COLUMN_NAME)
|
SELECT LOWER(COLUMN_NAME)
|
||||||
FROM information_schema.columns
|
FROM information_schema.columns
|
||||||
WHERE table_name = #{tableName}
|
WHERE table_name = #{tableName}
|
||||||
and table_schema = 'businesscenter_kjs'
|
|
||||||
</select>
|
</select>
|
||||||
<!-- 分页查询列表 采用like格式 -->
|
<!-- 分页查询列表 采用like格式 -->
|
||||||
<select id="queryMdmST" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.util.HashMap">
|
<select id="queryMdmST" resultType="com.alibaba.fastjson.JSONObject" parameterType="java.util.HashMap">
|
||||||
|
@ -963,19 +962,25 @@ where id = #{id}
|
||||||
${item.leftBracket} ${item.filedId}
|
${item.leftBracket} ${item.filedId}
|
||||||
<choose>
|
<choose>
|
||||||
<when test="item.compareType == '1'.toString() ">
|
<when test="item.compareType == '1'.toString() ">
|
||||||
=
|
= #{item.filedVaule}
|
||||||
</when>
|
</when>
|
||||||
<when test="item.compareType == '2'.toString() ">
|
<when test="item.compareType == '2'.toString() ">
|
||||||
!=
|
!= #{item.filedVaule}
|
||||||
</when>
|
</when>
|
||||||
<when test="item.compareType == '3'.toString() ">
|
<when test="item.compareType == '3'.toString() ">
|
||||||
>
|
> #{item.filedVaule}
|
||||||
</when>
|
</when>
|
||||||
<when test="item.compareType == '4'.toString() ">
|
<when test="item.compareType == '4'.toString() ">
|
||||||
<
|
< #{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>
|
</when>
|
||||||
</choose>
|
</choose>
|
||||||
#{item.filedVaule}
|
|
||||||
<choose>
|
<choose>
|
||||||
<when test="item.connectionSymbol == '1'.toString() ">
|
<when test="item.connectionSymbol == '1'.toString() ">
|
||||||
<choose>
|
<choose>
|
||||||
|
|
Loading…
Reference in New Issue