修改返回默认值
This commit is contained in:
parent
b595bba61b
commit
772a2e86f5
|
@ -210,7 +210,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" >
|
||||
insert into mdm_org(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -276,7 +276,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into mdm_org(document_rule, document_rule_num, org_code, org_name, org_address, org_countryzone, org_innercode, org_memo, org_mnecode, org_ncindustry, org_fatherorg, org_principal, org_tel, data_status, add_status, update_status, delete_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -284,7 +284,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into mdm_org(document_rule, document_rule_num, org_code, org_name, org_address, org_countryzone, org_innercode, org_memo, org_mnecode, org_ncindustry, org_fatherorg, org_principal, org_tel, data_status, add_status, update_status, delete_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -204,7 +204,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" >
|
||||
insert into mdm_project(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -268,7 +268,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into mdm_project(document_rule, document_rule_num, project_code, project_name, project_bill_type, project_memo, project_currtype, project_dutier, project_duty_dept, project_org, project_parentpro, project_sh_name, data_status, add_status, update_status, delete_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -276,7 +276,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into mdm_project(document_rule, document_rule_num, project_code, project_name, project_bill_type, project_memo, project_currtype, project_dutier, project_duty_dept, project_org, project_parentpro, project_sh_name, data_status, add_status, update_status, delete_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.user.entity.MdmUserEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.user.entity.MdmUserEntity" >
|
||||
insert into mdm_user(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -340,7 +340,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into mdm_user(document_rule, document_rule_num, data_status, add_status, update_status, delete_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, user_name, user_code, user_password, pwdlevelcode, pwdparam, user_note, abledate, disabledate, islocked, user_type, base_doc_type, pk_base_doc, identityverifycode, pk_org, format, isca, enablestate, contentlang, user_code_q, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -348,7 +348,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into mdm_user(document_rule, document_rule_num, data_status, add_status, update_status, delete_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, user_name, user_code, user_password, pwdlevelcode, pwdparam, user_note, abledate, disabledate, islocked, user_type, base_doc_type, pk_base_doc, identityverifycode, pk_org, format, isca, enablestate, contentlang, user_code_q)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -253,17 +253,15 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
|||
return BaseResult.getFailureMessageEntity("当前数据不存在");
|
||||
}
|
||||
if(mdmModuleDistributeDetailEntities != null && mdmModuleDistributeDetailEntities.size() > 0){
|
||||
for (int i1 = 0; i1 < mdmModuleDistributeDetailEntities.size(); i1++) {
|
||||
Map<String,Object> checkData = new HashMap<>();
|
||||
checkData.put("tableName",mdmModuleDbEntities.get(i).getDbName());
|
||||
checkData.put("documentRule",documentRule);
|
||||
checkData.put("mdmModuleDistributeDetailEntities",mdmModuleDistributeDetailEntities);
|
||||
JSONObject object1 = mdmModuleDao.queryMdmST(checkData);
|
||||
if(object1.getString("id") == null || "".equals(object1.getString("id")) ){
|
||||
taskDetailEntity.setResult("当前数据不符合规则不发送");
|
||||
taskLivingDetailsService.updateLogFailToSuccess(taskDetailEntity);
|
||||
return BaseResult.getFailureMessageEntity("当前数据不符合规则不发送");
|
||||
}
|
||||
Map<String,Object> checkData = new HashMap<>();
|
||||
checkData.put("tableName",mdmModuleDbEntities.get(i).getDbName());
|
||||
checkData.put("documentRule",documentRule);
|
||||
checkData.put("mdmModuleDistributeDetailEntities",mdmModuleDistributeDetailEntities);
|
||||
JSONObject object1 = mdmModuleDao.queryMdmST(checkData);
|
||||
if(object1.getString("id") == null || "".equals(object1.getString("id")) ){
|
||||
taskDetailEntity.setResult("当前数据不符合规则不发送");
|
||||
taskLivingDetailsService.updateLogFailToSuccess(taskDetailEntity);
|
||||
return BaseResult.getFailureMessageEntity("当前数据不符合规则不发送");
|
||||
}
|
||||
}
|
||||
//查看主表是否有字段是关联的
|
||||
|
@ -370,9 +368,63 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
|
|||
return BaseResult.getFailureMessageEntity("发送错误");
|
||||
}
|
||||
}
|
||||
}else {
|
||||
//执行正常下发
|
||||
}else {//执行正常下发
|
||||
|
||||
//查询主数据
|
||||
MdmModuleEntity queryMdmModuleEntity = new MdmModuleEntity();
|
||||
queryMdmModuleEntity.setSts("Y");
|
||||
List<MdmModuleEntity> mdmModuleEntities = mdmModuleDao.queryBase(queryMdmModuleEntity);
|
||||
if(mdmModuleEntities == null || mdmModuleEntities.size() == 0){
|
||||
return BaseResult.getSuccessMessageEntity("主数据未设置,不需要下发");
|
||||
}
|
||||
//查询下发的配置 没有直接跳过
|
||||
for (int i = 0; i < mdmModuleEntities.size(); i++) {
|
||||
MdmModuleDistributeEntity queryMdmModuleDistributeEntity = new MdmModuleDistributeEntity();
|
||||
queryMdmModuleDistributeEntity.setMdmId(mdmModuleEntities.get(i).getId());
|
||||
queryMdmModuleDistributeEntity.setEnabledType("1");
|
||||
queryMdmModuleDistributeEntity.setEnabledState("1");
|
||||
List<MdmModuleDistributeEntity> mdmModuleDistributeEntities = mdmModuleDistributeDao.queryBase(queryMdmModuleDistributeEntity);
|
||||
if(mdmModuleDistributeEntities == null || mdmModuleDistributeEntities.size() == 0){
|
||||
continue;
|
||||
}
|
||||
for (int i1 = 0; i1 < mdmModuleDistributeEntities.size(); i1++) {
|
||||
//查询主数据db
|
||||
MdmModuleDbEntity queryMdmModuleDbEntity = new MdmModuleDbEntity();
|
||||
queryMdmModuleDbEntity.setMdmId(mdmModuleEntities.get(i).getId());
|
||||
List<MdmModuleDbEntity> mdmModuleDbEntities = mdmServiceCache.queryMdmModuleDb(queryMdmModuleDbEntity);
|
||||
if(mdmModuleDbEntities == null || mdmModuleDbEntities.size() == 0){
|
||||
continue;
|
||||
}
|
||||
//查询主数据字段
|
||||
MdmModuleDbFiledsEntity queryFild = new MdmModuleDbFiledsEntity();
|
||||
queryFild.setMdmId(mdmModuleEntities.get(i).getId());
|
||||
List<MdmModuleDbFiledsEntity> mdmModuleDbFiledsEntities = mdmServiceCache.queryMdmModuleDbFileds(queryFild);
|
||||
if(mdmModuleDbFiledsEntities == null || mdmModuleDbFiledsEntities.size() == 0){
|
||||
continue;
|
||||
}
|
||||
//查询下发的配置
|
||||
MdmModuleDistributeDetailEntity mdmModuleDistributeDetailEntity = new MdmModuleDistributeDetailEntity() ;
|
||||
mdmModuleDistributeDetailEntity.setDistributeId(mdmModuleDistributeEntities.get(i1).getId());
|
||||
mdmModuleDistributeDetailEntity.setSts("Y");
|
||||
List<MdmModuleDistributeDetailEntity> mdmModuleDistributeDetailEntities = mdmModuleDistributeDetailDao.queryBase(mdmModuleDistributeDetailEntity);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//查询一千条数据
|
||||
|
||||
//查询这一千条数据是否符合规则
|
||||
|
||||
//查询是否已经手动发送过。只有新增校验,查询发送日志是否已经有这条数据
|
||||
|
||||
//组装数据发送
|
||||
|
||||
//保存日志
|
||||
|
||||
//所有下发发送完成,修改数据状态
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -806,7 +806,7 @@ where id = #{id}
|
|||
<if test="id != null and id !='' ">and id = #{id}</if>
|
||||
<if test="mdmModuleDistributeDetailEntities != null and mdmModuleDistributeDetailEntities.size>0">
|
||||
AND
|
||||
<foreach collection="mdmModuleDistributeDetailEntities" item="item" index="index" open="(" close=")" separator=",">
|
||||
<foreach collection="mdmModuleDistributeDetailEntities" item="item" index="index" open="(" close=")" >
|
||||
${item.leftBracket} ${item.filedName}
|
||||
<choose>
|
||||
<when test="item.compareType == '1'.toString() ">
|
||||
|
|
|
@ -2268,6 +2268,24 @@ public class MdmModuleServiceImpl extends BaseService<MdmModuleEntity, String> i
|
|||
return BaseResult.getFailureMessageEntity("系统错误");
|
||||
}
|
||||
List<MdmModuleDistributeEntity> list = mdmModuleDistributeDao.queryBase(entity);
|
||||
if(list != null && list.size() > 0){
|
||||
MdmModuleDistributeDetailEntity mdmModuleDistributeDetailEntity = new MdmModuleDistributeDetailEntity();
|
||||
mdmModuleDistributeDetailEntity.setMdmId(entity.getMdmId());
|
||||
mdmModuleDistributeDetailEntity.setSts("Y");
|
||||
List<MdmModuleDistributeDetailEntity> listDetail = mdmModuleDistributeDetailDao.queryBase(mdmModuleDistributeDetailEntity);
|
||||
if(listDetail != null && listDetail.size() > 0){
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
List<MdmModuleDistributeDetailEntity> mdmModuleDistributeDetailEntities = new ArrayList<>();
|
||||
for (int i1 = 0; i1 < listDetail.size(); i1++) {
|
||||
if(listDetail.get(i1).getDistributeId().equals(list.get(i).getId())){
|
||||
mdmModuleDistributeDetailEntities.add(listDetail.get(i1) );
|
||||
}
|
||||
}
|
||||
list.get(i).setMdmModuleDistributeDetailEntities(mdmModuleDistributeDetailEntities);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return BaseResult.getSuccessMessageEntity("获取分发设置成功", list);
|
||||
}
|
||||
|
||||
|
@ -2348,12 +2366,16 @@ public class MdmModuleServiceImpl extends BaseService<MdmModuleEntity, String> i
|
|||
mdmModuleDistributeDetailDao.logicRemoveMultiCondition(mdmModuleDistributeDetailEntity);
|
||||
if (entity.getMdmModuleDistributeDetailEntities() != null && entity.getMdmModuleDistributeDetailEntities().size() > 0) {
|
||||
for (int i = 0; i < entity.getMdmModuleDistributeDetailEntities().size(); i++) {
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setSts("Y");
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setMdmId(entity.getMdmId());
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setSts("Y");
|
||||
if (entity.getMdmModuleDistributeDetailEntities().get(i).getId() != null) {
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setUpdate();
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setDistributeId(entity.getId());
|
||||
mdmModuleDistributeDetailDao.update(entity.getMdmModuleDistributeDetailEntities().get(i));
|
||||
} else {
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setCreate();
|
||||
entity.getMdmModuleDistributeDetailEntities().get(i).setDistributeId(entity.getId());
|
||||
mdmModuleDistributeDetailDao.save(entity.getMdmModuleDistributeDetailEntities().get(i));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.mdm.mdmModuleDistribute.entity.MdmModuleDistributeEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.mdm.mdmModuleDistribute.entity.MdmModuleDistributeEntity" >
|
||||
insert into mdm_module_distribute(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -235,7 +235,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into mdm_module_distribute(mdm_id, app_id, enabled_type, update_api, update_script, add_api, add_script, delete_api, delete_script, enabled_state, db_id, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -243,7 +243,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into mdm_module_distribute(mdm_id, app_id, enabled_type, update_api, update_script, add_api, add_script, delete_api, delete_script, enabled_state, db_id, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.hzya.frame.basedao.dao.IBaseDao;
|
|||
* 主数据功能应用分发明细表(mdm_module_distribute_detail: table)表数据库访问层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2024-06-14 10:03:50
|
||||
* @since 2024-06-19 10:34:58
|
||||
*/
|
||||
public interface IMdmModuleDistributeDetailDao extends IBaseDao<MdmModuleDistributeDetailEntity, String> {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
|||
* 主数据功能应用分发明细表(MdmModuleDistributeDetail)表数据库访问层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2024-06-14 10:03:50
|
||||
* @since 2024-06-19 10:34:58
|
||||
*/
|
||||
@Repository(value = "MdmModuleDistributeDetailDaoImpl")
|
||||
public class MdmModuleDistributeDetailDaoImpl extends MybatisGenericDao<MdmModuleDistributeDetailEntity, String> implements IMdmModuleDistributeDetailDao{
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.hzya.frame.web.entity.BaseEntity;
|
|||
* 主数据功能应用分发明细表(MdmModuleDistributeDetail)实体类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2024-06-14 10:03:50
|
||||
* @since 2024-06-19 10:34:58
|
||||
*/
|
||||
public class MdmModuleDistributeDetailEntity extends BaseEntity {
|
||||
|
||||
|
@ -20,6 +20,8 @@ public class MdmModuleDistributeDetailEntity extends BaseEntity {
|
|||
private String dataType;
|
||||
/** 左括号 */
|
||||
private String leftBracket;
|
||||
/** 字段id */
|
||||
private String filedId;
|
||||
/** 字段名 */
|
||||
private String filedName;
|
||||
/** 对比类型 1、等于 2、不等于 3、大于 4、小于 */
|
||||
|
@ -74,6 +76,14 @@ public class MdmModuleDistributeDetailEntity extends BaseEntity {
|
|||
this.leftBracket = leftBracket;
|
||||
}
|
||||
|
||||
public String getFiledId() {
|
||||
return filedId;
|
||||
}
|
||||
|
||||
public void setFiledId(String filedId) {
|
||||
this.filedId = filedId;
|
||||
}
|
||||
|
||||
public String getFiledName() {
|
||||
return filedName;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<result property="apiId" column="api_id" jdbcType="VARCHAR"/>
|
||||
<result property="dataType" column="data_type" jdbcType="VARCHAR"/>
|
||||
<result property="leftBracket" column="left_bracket" jdbcType="VARCHAR"/>
|
||||
<result property="filedId" column="filed_id" jdbcType="VARCHAR"/>
|
||||
<result property="filedName" column="filed_name" jdbcType="VARCHAR"/>
|
||||
<result property="compareType" column="compare_type" jdbcType="VARCHAR"/>
|
||||
<result property="filedVaule" column="filed_vaule" jdbcType="VARCHAR"/>
|
||||
|
@ -31,6 +32,7 @@
|
|||
,api_id
|
||||
,data_type
|
||||
,left_bracket
|
||||
,filed_id
|
||||
,filed_name
|
||||
,compare_type
|
||||
,filed_vaule
|
||||
|
@ -45,12 +47,6 @@
|
|||
,org_id
|
||||
,company_id
|
||||
</sql>
|
||||
<!--通过ID获取数据 -->
|
||||
<select id="entity_get" resultMap="get-MdmModuleDistributeDetailEntity-result">
|
||||
select
|
||||
<include refid="MdmModuleDistributeDetailEntity_Base_Column_List" />
|
||||
from mdm_module_distribute_detail where id = #{ id } and sts='Y'
|
||||
</select>
|
||||
<!-- 查询 采用==查询 -->
|
||||
<select id="entity_list_base" resultMap="get-MdmModuleDistributeDetailEntity-result" parameterType = "com.hzya.frame.mdm.mdmModuleDistributeDetail.entity.MdmModuleDistributeDetailEntity">
|
||||
select
|
||||
|
@ -63,6 +59,7 @@
|
|||
<if test="apiId != null and apiId != ''"> and api_id = #{apiId} </if>
|
||||
<if test="dataType != null and dataType != ''"> and data_type = #{dataType} </if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> and left_bracket = #{leftBracket} </if>
|
||||
<if test="filedId != null and filedId != ''"> and filed_id = #{filedId} </if>
|
||||
<if test="filedName != null and filedName != ''"> and filed_name = #{filedName} </if>
|
||||
<if test="compareType != null and compareType != ''"> and compare_type = #{compareType} </if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> and filed_vaule = #{filedVaule} </if>
|
||||
|
@ -92,6 +89,7 @@
|
|||
<if test="apiId != null and apiId != ''"> and api_id = #{apiId} </if>
|
||||
<if test="dataType != null and dataType != ''"> and data_type = #{dataType} </if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> and left_bracket = #{leftBracket} </if>
|
||||
<if test="filedId != null and filedId != ''"> and filed_id = #{filedId} </if>
|
||||
<if test="filedName != null and filedName != ''"> and filed_name = #{filedName} </if>
|
||||
<if test="compareType != null and compareType != ''"> and compare_type = #{compareType} </if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> and filed_vaule = #{filedVaule} </if>
|
||||
|
@ -123,6 +121,7 @@
|
|||
<if test="apiId != null and apiId != ''"> and api_id like concat('%',#{apiId},'%') </if>
|
||||
<if test="dataType != null and dataType != ''"> and data_type like concat('%',#{dataType},'%') </if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> and left_bracket like concat('%',#{leftBracket},'%') </if>
|
||||
<if test="filedId != null and filedId != ''"> and filed_id like concat('%',#{filedId},'%') </if>
|
||||
<if test="filedName != null and filedName != ''"> and filed_name like concat('%',#{filedName},'%') </if>
|
||||
<if test="compareType != null and compareType != ''"> and compare_type like concat('%',#{compareType},'%') </if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> and filed_vaule like concat('%',#{filedVaule},'%') </if>
|
||||
|
@ -154,6 +153,7 @@
|
|||
<if test="apiId != null and apiId != ''"> or api_id = #{apiId} </if>
|
||||
<if test="dataType != null and dataType != ''"> or data_type = #{dataType} </if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> or left_bracket = #{leftBracket} </if>
|
||||
<if test="filedId != null and filedId != ''"> or filed_id = #{filedId} </if>
|
||||
<if test="filedName != null and filedName != ''"> or filed_name = #{filedName} </if>
|
||||
<if test="compareType != null and compareType != ''"> or compare_type = #{compareType} </if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> or filed_vaule = #{filedVaule} </if>
|
||||
|
@ -183,6 +183,7 @@
|
|||
<if test="apiId != null and apiId != ''"> api_id , </if>
|
||||
<if test="dataType != null and dataType != ''"> data_type , </if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> left_bracket , </if>
|
||||
<if test="filedId != null and filedId != ''"> filed_id , </if>
|
||||
<if test="filedName != null and filedName != ''"> filed_name , </if>
|
||||
<if test="compareType != null and compareType != ''"> compare_type , </if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> filed_vaule , </if>
|
||||
|
@ -196,6 +197,7 @@
|
|||
<if test="sts != null and sts != ''"> sts , </if>
|
||||
<if test="org_id != null and org_id != ''"> org_id , </if>
|
||||
<if test="companyId != null and companyId != ''"> company_id , </if>
|
||||
<if test="sorts == null ">sorts,</if>
|
||||
<if test="sts == null ">sts,</if>
|
||||
</trim>
|
||||
)values(
|
||||
|
@ -206,6 +208,7 @@
|
|||
<if test="apiId != null and apiId != ''"> #{apiId} ,</if>
|
||||
<if test="dataType != null and dataType != ''"> #{dataType} ,</if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> #{leftBracket} ,</if>
|
||||
<if test="filedId != null and filedId != ''"> #{filedId} ,</if>
|
||||
<if test="filedName != null and filedName != ''"> #{filedName} ,</if>
|
||||
<if test="compareType != null and compareType != ''"> #{compareType} ,</if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> #{filedVaule} ,</if>
|
||||
|
@ -219,24 +222,25 @@
|
|||
<if test="sts != null and sts != ''"> #{sts} ,</if>
|
||||
<if test="org_id != null and org_id != ''"> #{org_id} ,</if>
|
||||
<if test="companyId != null and companyId != ''"> #{companyId} ,</if>
|
||||
<if test="sorts == null ">(select (max(IFNULL( a.sorts, 0 )) + 1) as sort from mdm_module_distribute_detail a WHERE a.sts = 'Y' ),</if>
|
||||
<if test="sts == null ">'Y',</if>
|
||||
</trim>
|
||||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into mdm_module_distribute_detail(mdm_id, distribute_id, api_id, data_type, left_bracket, filed_name, compare_type, filed_vaule, connection_symbol, right_parenthesis, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
insert into mdm_module_distribute_detail(mdm_id, distribute_id, api_id, data_type, left_bracket, filed_id, filed_name, compare_type, filed_vaule, connection_symbol, right_parenthesis, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
(#{entity.mdmId},#{entity.distributeId},#{entity.apiId},#{entity.dataType},#{entity.leftBracket},#{entity.filedName},#{entity.compareType},#{entity.filedVaule},#{entity.connectionSymbol},#{entity.rightParenthesis},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId}, 'Y')
|
||||
(#{entity.mdmId},#{entity.distributeId},#{entity.apiId},#{entity.dataType},#{entity.leftBracket},#{entity.filedId},#{entity.filedName},#{entity.compareType},#{entity.filedVaule},#{entity.connectionSymbol},#{entity.rightParenthesis},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId}, 'Y')
|
||||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into mdm_module_distribute_detail(mdm_id, distribute_id, api_id, data_type, left_bracket, filed_name, compare_type, filed_vaule, connection_symbol, right_parenthesis, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id)
|
||||
insert into mdm_module_distribute_detail(mdm_id, distribute_id, api_id, data_type, left_bracket, filed_id, filed_name, compare_type, filed_vaule, connection_symbol, right_parenthesis, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
(#{entity.mdmId},#{entity.distributeId},#{entity.apiId},#{entity.dataType},#{entity.leftBracket},#{entity.filedName},#{entity.compareType},#{entity.filedVaule},#{entity.connectionSymbol},#{entity.rightParenthesis},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId})
|
||||
(#{entity.mdmId},#{entity.distributeId},#{entity.apiId},#{entity.dataType},#{entity.leftBracket},#{entity.filedId},#{entity.filedName},#{entity.compareType},#{entity.filedVaule},#{entity.connectionSymbol},#{entity.rightParenthesis},#{entity.create_user_id},#{entity.create_time},#{entity.modify_user_id},#{entity.modify_time},#{entity.sts},#{entity.org_id},#{entity.companyId})
|
||||
</foreach>
|
||||
on duplicate key update
|
||||
mdm_id = values(mdm_id),
|
||||
|
@ -244,6 +248,7 @@
|
|||
api_id = values(api_id),
|
||||
data_type = values(data_type),
|
||||
left_bracket = values(left_bracket),
|
||||
filed_id = values(filed_id),
|
||||
filed_name = values(filed_name),
|
||||
compare_type = values(compare_type),
|
||||
filed_vaule = values(filed_vaule),
|
||||
|
@ -265,6 +270,7 @@ update mdm_module_distribute_detail set
|
|||
<if test="apiId != null and apiId != ''"> api_id = #{apiId},</if>
|
||||
<if test="dataType != null and dataType != ''"> data_type = #{dataType},</if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> left_bracket = #{leftBracket},</if>
|
||||
<if test="filedId != null and filedId != ''"> filed_id = #{filedId},</if>
|
||||
<if test="filedName != null and filedName != ''"> filed_name = #{filedName},</if>
|
||||
<if test="compareType != null and compareType != ''"> compare_type = #{compareType},</if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> filed_vaule = #{filedVaule},</if>
|
||||
|
@ -295,6 +301,7 @@ update mdm_module_distribute_detail set sts= 'N' ,modify_time = #{modify_time},
|
|||
<if test="apiId != null and apiId != ''"> and api_id = #{apiId} </if>
|
||||
<if test="dataType != null and dataType != ''"> and data_type = #{dataType} </if>
|
||||
<if test="leftBracket != null and leftBracket != ''"> and left_bracket = #{leftBracket} </if>
|
||||
<if test="filedId != null and filedId != ''"> and filed_id = #{filedId} </if>
|
||||
<if test="filedName != null and filedName != ''"> and filed_name = #{filedName} </if>
|
||||
<if test="compareType != null and compareType != ''"> and compare_type = #{compareType} </if>
|
||||
<if test="filedVaule != null and filedVaule != ''"> and filed_vaule = #{filedVaule} </if>
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.hzya.frame.basedao.service.IBaseService;
|
|||
* 主数据功能应用分发明细表(MdmModuleDistributeDetail)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2024-06-14 10:03:50
|
||||
* @since 2024-06-19 10:34:58
|
||||
*/
|
||||
public interface IMdmModuleDistributeDetailService extends IBaseService<MdmModuleDistributeDetailEntity, String>{
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.hzya.frame.basedao.service.impl.BaseService;
|
|||
* 主数据功能应用分发明细表(MdmModuleDistributeDetail)表服务实现类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2024-06-14 10:03:50
|
||||
* @since 2024-06-19 10:34:58
|
||||
*/
|
||||
@Service(value = "mdmModuleDistributeDetailService")
|
||||
public class MdmModuleDistributeDetailServiceImpl extends BaseService<MdmModuleDistributeDetailEntity, String> implements IMdmModuleDistributeDetailService {
|
||||
|
|
|
@ -162,7 +162,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.mdm.mdmModuleSource.entity.MdmModuleSourceEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.mdm.mdmModuleSource.entity.MdmModuleSourceEntity" >
|
||||
insert into mdm_module_source(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -212,7 +212,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into mdm_module_source(mdm_id, source_type, source_name, trigger_type, source_code, add_api, update_api, delete_api, enabled_state, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -220,7 +220,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into mdm_module_source(mdm_id, source_type, source_name, trigger_type, source_code, add_api, update_api, delete_api, enabled_state, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, company_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sys.contrastTask.entity.SysContrastTaskEntity"
|
||||
keyProperty="" useGeneratedKeys="true">
|
||||
keyProperty="">
|
||||
insert into sys_contrast_task(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -209,7 +209,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" keyProperty="">
|
||||
insert into sys_contrast_task(id, service_name, left_app_id, left_api_id, right_app_id, right_api_id,
|
||||
task_status, task_msg, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, match_mode,
|
||||
sts)
|
||||
|
@ -220,7 +220,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="">
|
||||
insert into sys_contrast_task(id, service_name, left_app_id, left_api_id, right_app_id, right_api_id,
|
||||
task_status, task_msg, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, match_mode)
|
||||
values
|
||||
|
|
|
@ -179,7 +179,7 @@
|
|||
'Y'
|
||||
</trim>
|
||||
)
|
||||
<selectKey keyProperty="id" resultType="Long" order="AFTER">
|
||||
<selectKey resultType="Long" order="AFTER">
|
||||
select
|
||||
last_insert_id() as id
|
||||
</selectKey>
|
||||
|
|
|
@ -272,7 +272,7 @@
|
|||
'Y'
|
||||
</trim>
|
||||
)
|
||||
<selectKey keyProperty="id" resultType="Long" order="AFTER">
|
||||
<selectKey resultType="Long" order="AFTER">
|
||||
select
|
||||
last_insert_id() as id
|
||||
</selectKey>
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sys.serviceMethod.entity.SysServiceMethodEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sys.serviceMethod.entity.SysServiceMethodEntity" >
|
||||
insert into sys_service_method(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -156,7 +156,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_service_method(service_key, service_value, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -164,7 +164,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_service_method(service_key, service_value, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -169,8 +169,8 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert"
|
||||
parameterType="com.hzya.frame.sys.templateButton.entity.SysTemplateButtonEntity" keyProperty="id"
|
||||
useGeneratedKeys="true">
|
||||
parameterType="com.hzya.frame.sys.templateButton.entity.SysTemplateButtonEntity"
|
||||
>
|
||||
insert into sys_template_button(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -218,7 +218,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="SysTemplateButtonEntityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="SysTemplateButtonEntityInsertBatch" >
|
||||
insert into sys_template_button(template_id, service_name, table_name, button_type, button_title, button_style,
|
||||
button_sort, button_icon, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
|
@ -228,7 +228,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="SysTemplateButtonEntityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="SysTemplateButtonEntityInsertOrUpdateBatch" >
|
||||
insert into sys_template_button(template_id, service_name, table_name, button_type, button_title, button_style,
|
||||
button_sort, button_icon, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sys.userTemplateButton.entity.SysUserTemplateButtonEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sys.userTemplateButton.entity.SysUserTemplateButtonEntity" >
|
||||
insert into sys_user_template_button(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -164,7 +164,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="SysUserTemplateButtonEntityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="SysUserTemplateButtonEntityInsertBatch" >
|
||||
insert into sys_user_template_button(template_id, service_name, button_id, user_id, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -172,7 +172,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="SysUserTemplateButtonEntityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="SysUserTemplateButtonEntityInsertOrUpdateBatch" >
|
||||
insert into sys_user_template_button(template_id, service_name, button_id, user_id, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -354,7 +354,7 @@ WHERE
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.application.api.entity.SysApplicationApiEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into sys_application_api(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -442,7 +442,7 @@ WHERE
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_api(api_status,api_code,api_path, app_id, catalogue_id, api_name, api_remark,
|
||||
need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method,
|
||||
timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, bean_name,return_msg,return_success_field,return_success_value, fun_name, extension_api, sorts, create_user_id,
|
||||
|
@ -454,7 +454,7 @@ WHERE
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_api(api_status,api_code,api_path, app_id, catalogue_id, api_name, api_remark,
|
||||
need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method,
|
||||
timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out,bean_name,return_msg,return_success_field,return_success_value,fun_name,extension_api, sorts, create_user_id,
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiAuth.entity.SysApplicationApiAuthEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiAuth.entity.SysApplicationApiAuthEntity" >
|
||||
insert into sys_application_api_auth(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -170,7 +170,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_api_auth(app_id, system_status, name, system_address, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -178,7 +178,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_api_auth(app_id, system_status, name, system_address, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiAythDetail.entity.SysApplicationApiAuthDetailEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiAythDetail.entity.SysApplicationApiAuthDetailEntity" >
|
||||
insert into sys_application_api_auth_detail(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -170,7 +170,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_api_auth_detail(app_id, catalogue_id, api_id, tripartite_system_id, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -178,7 +178,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_api_auth_detail(app_id, catalogue_id, api_id, tripartite_system_id, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiPara.entity.SysApplicationApiParaEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiPara.entity.SysApplicationApiParaEntity" >
|
||||
insert into sys_application_api_para(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -170,7 +170,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_api_para(app_id, interface_key, interface_value, interface_type, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -178,7 +178,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_api_para(app_id, interface_key, interface_value, interface_type, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiType.entity.SysApplicationApiTypeEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.apiType.entity.SysApplicationApiTypeEntity" >
|
||||
insert into sys_application_api_type(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -172,7 +172,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_api_type(app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -180,7 +180,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_api_type(app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.database.entity.SysApplicationDatabaseEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.database.entity.SysApplicationDatabaseEntity" >
|
||||
insert into sys_application_database(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -220,7 +220,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_database(app_id, source_code, source_name, source_type, source_ip, source_port, login_name, password, db_name, service_name, db_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -228,7 +228,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_database(app_id, source_code, source_name, source_type, source_ip, source_port, login_name, password, db_name, service_name, db_status, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.entity.SysApplicationEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.entity.SysApplicationEntity" >
|
||||
insert into sys_application(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -292,7 +292,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application(app_logo, app_status, name, version_number, app_id, system_address, access_mode, affiliation_field, manufacturer, app_introduction, client_path, web_path, program_path, public_key, secret_key, interface_address, interface_status, db_status,app_type, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -300,7 +300,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application(app_logo, app_status, name, version_number,app_id,system_address, access_mode, affiliation_field, manufacturer, app_introduction, client_path, web_path, program_path, public_key, secret_key, interface_address, interface_status, db_status,app_type, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.plugin.entity.SysApplicationPluginEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.application.plugin.entity.SysApplicationPluginEntity" >
|
||||
insert into sys_application_plugin(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -194,7 +194,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_application_plugin(app_id, plugin_name, plugin_code, plugin_version, plugin_remark, release_date, plugin_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -202,7 +202,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_application_plugin(app_id, plugin_name, plugin_code, plugin_version, plugin_remark, release_date, plugin_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.homeComponent.entity.SysHomeComponentEntity"
|
||||
keyProperty="" useGeneratedKeys="true">
|
||||
keyProperty="">
|
||||
insert into sys_home_component(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -184,7 +184,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" keyProperty="">
|
||||
insert into sys_home_component(id, name, code, state, remark, sorts, create_user_id, create_time,
|
||||
modify_user_id, modify_time, sts, org_id, company_id, sts)
|
||||
values
|
||||
|
@ -194,7 +194,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="">
|
||||
insert into sys_home_component(id, name, code, state, remark, sorts, create_user_id, create_time,
|
||||
modify_user_id, modify_time, sts, org_id, company_id)
|
||||
values
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
from sys_integrated_foreground_task where id = #{ id } and sts='Y'
|
||||
</select>
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integratedForegroundTask.entity.SysIntegratedForegroundTaskEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integratedForegroundTask.entity.SysIntegratedForegroundTaskEntity" >
|
||||
insert into sys_integrated_foreground_task(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -169,7 +169,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_integrated_foreground_task(workshop_name, plug_id, plug_name, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -177,7 +177,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_integrated_foreground_task(workshop_name, plug_id, plug_name, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integratedForegroundTaskDetail.entity.SysIntegratedForegroundTaskDetailEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integratedForegroundTaskDetail.entity.SysIntegratedForegroundTaskDetailEntity" >
|
||||
insert into sys_integrated_foreground_task_detail(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -180,7 +180,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_integrated_foreground_task_detail(formmain_id, arg_code, arg_name, arg_type, arg_value, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -188,7 +188,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_integrated_foreground_task_detail(formmain_id, arg_code, arg_name, arg_type, arg_value, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integratedForegroundTaskParameter.entity.SysIntegratedForegroundTaskParameterEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.integratedForegroundTaskParameter.entity.SysIntegratedForegroundTaskParameterEntity" >
|
||||
insert into sys_integrated_foreground_task_parameter(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -156,7 +156,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_integrated_foreground_task_parameter(formmain_id, in_parameter, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -164,7 +164,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_integrated_foreground_task_parameter(formmain_id, in_parameter, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -172,7 +172,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.messageManage.entity.SysMessageManageEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into sys_message_manage(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -216,7 +216,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_message_manage(theme, code, send_app, send_api, data_type, remark, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
|
@ -226,7 +226,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_message_manage(theme, code, send_app, send_api, data_type, remark, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
|
|
@ -162,8 +162,8 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert"
|
||||
parameterType="com.hzya.frame.sysnew.messageManageDetail.entity.SysMessageManageDetailEntity" keyProperty="id"
|
||||
useGeneratedKeys="true">
|
||||
parameterType="com.hzya.frame.sysnew.messageManageDetail.entity.SysMessageManageDetailEntity"
|
||||
>
|
||||
insert into sys_message_manage_detail(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -211,7 +211,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_message_manage_detail(formmain_id, receive_name, receive_code, receive_app, receive_api,
|
||||
data_type, return_type, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
|
@ -221,7 +221,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_message_manage_detail(formmain_id, receive_name, receive_code, receive_app, receive_api,
|
||||
data_type, return_type, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
|
|
@ -290,7 +290,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.messageManageLog.entity.SysMessageManageLogEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into
|
||||
<choose>
|
||||
<when test=" status != null and status.trim() != '' and status == 3">
|
||||
|
@ -357,7 +357,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_message_manage_log(message_manage_id, theme, message_code, send_app, send_api, receive_code,
|
||||
receive_app, receive_api, source_data, target_data, return_data, return_type,error_status, status, remark,
|
||||
sorts, create_user_id,
|
||||
|
@ -369,7 +369,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_message_manage_log(message_manage_id, theme, message_code, send_app, send_api, receive_code,
|
||||
receive_app, receive_api, source_data, target_data, return_data, return_type,error_status, status, remark,
|
||||
sorts, create_user_id,
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.messageManageLogBack.detail.entity.SysMessageManageLogDetailBackEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into sys_message_manage_log_detail_back(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -180,7 +180,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_message_manage_log_detail_back(id,message_manage_id, source_data, target_data, return_data,sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
@ -189,7 +189,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_message_manage_log_detail_back(message_manage_id, source_data, target_data, return_data, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.messageManageLogBack.entity.SysMessageManageLogBackEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into sys_message_manage_log_back(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -335,7 +335,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_message_manage_log_back(id,message_manage_id, theme, message_code, send_app, send_api, receive_code,
|
||||
receive_app, receive_api, source_data, target_data, return_data, return_type,error_status, status, remark, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
|
@ -345,7 +345,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_message_manage_log_back(message_manage_id, theme, message_code, send_app, send_api, receive_code,
|
||||
receive_app, receive_api, source_data, target_data, return_data, return_type,error_status, status, remark, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.messageManageLogDetail.entity.SysMessageManageLogDetailEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into sys_message_manage_log_detail(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -176,7 +176,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_message_manage_log_detail(message_manage_id, source_data, target_data, return_data,sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
|
@ -186,7 +186,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_message_manage_log_detail(message_manage_id, source_data, target_data, return_data, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.plugArg.entity.SysPlugArgEntity" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.sysnew.plugArg.entity.SysPlugArgEntity" keyProperty="">
|
||||
insert into sys_plug_arg(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -169,7 +169,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" keyProperty="">
|
||||
insert into sys_plug_arg(id, plug_id, plug_code, plug_name, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
@ -177,7 +177,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="">
|
||||
insert into sys_plug_arg(id, plug_id, plug_code, plug_name, remark, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
<foreach collection="entities" item="entity" separator=",">
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType="com.hzya.frame.sysnew.plugArgDeatil.entity.SysPlugArgDetailEntity"
|
||||
keyProperty="id" useGeneratedKeys="true">
|
||||
>
|
||||
insert into sys_plug_arg_detail(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''">id ,</if>
|
||||
|
@ -184,7 +184,7 @@
|
|||
)
|
||||
</insert>
|
||||
<!-- 批量新增 -->
|
||||
<insert id="entityInsertBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertBatch" >
|
||||
insert into sys_plug_arg_detail(formmain_id, arg_code, arg_name, arg_type, remark, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id, sts)
|
||||
values
|
||||
|
@ -194,7 +194,7 @@
|
|||
</foreach>
|
||||
</insert>
|
||||
<!-- 批量新增或者修改-->
|
||||
<insert id="entityInsertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entityInsertOrUpdateBatch" >
|
||||
insert into sys_plug_arg_detail(formmain_id, arg_code, arg_name, arg_type, remark, sorts, create_user_id,
|
||||
create_time, modify_user_id, modify_time, sts, org_id)
|
||||
values
|
||||
|
|
Loading…
Reference in New Issue