低代码java服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.4 KiB

2 years ago
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.hxgk.lowcode.mapper.CustomerFormViewMapper">
<select id="getCustomerFormViewListByTablekey" resultType="com.hxgk.lowcode.model.entity.CustomerFormView">
select
id,tablekey,version,status,time,creater,edit_time,table_structure,dict,cfid,name,classify,flowkey,signCode
2 years ago
from customer_form_view
where status = 1 and tablekey in
<foreach collection="list" item="tablekey" index="index" open="(" close=")" separator=",">
#{tablekey}
</foreach>
order by id
</select>
<select id="getCustomerFormViewListByGroupid" resultType="com.hxgk.lowcode.model.entity.CustomerFormView">
select
id,tablekey,version,status,time,creater,edit_time,table_structure,dict,cfid,name,classify,flowkey,signCode
from customer_form_view
where status = 1 and classify = 4 and groupid = #{groupid}
order by id
</select>
<select id="getTableNameByCfid" resultType="com.hxgk.lowcode.model.entity.CustomerFormView">
select
id,tablekey,version,status,time,creater,edit_time,table_structure,dict,cfid,name,classify,flowkey,signCode
from customer_form_view
where status = 1 and cfid = #{formId}
</select>
2 years ago
</mapper>