调整包路径
This commit is contained in:
parent
fe32e653d8
commit
cfbda9907c
|
@ -1,7 +1,7 @@
|
|||
package masterData.dao;
|
||||
package com.hzya.frame.plugin.masterData.org.dao;
|
||||
|
||||
import masterData.entity.MdmOrgEntity;
|
||||
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||
import com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity;
|
||||
|
||||
/**
|
||||
* 组织档案(mdm_org: table)表数据库访问层
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package masterData.dao.impl;
|
||||
package com.hzya.frame.plugin.masterData.org.dao.impl;
|
||||
|
||||
import masterData.entity.MdmOrgEntity;
|
||||
import masterData.dao.IMdmOrgDao;
|
||||
import com.hzya.frame.plugin.masterData.org.dao.IMdmOrgDao;
|
||||
import com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@ import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
|||
* @author makejava
|
||||
* @since 2024-06-07 18:30:04
|
||||
*/
|
||||
public class MdmOrgDaoImpl extends MybatisGenericDao<MdmOrgEntity, String> implements IMdmOrgDao{
|
||||
public class MdmOrgDaoImpl extends MybatisGenericDao<MdmOrgEntity, String> implements IMdmOrgDao {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package masterData.entity;
|
||||
package com.hzya.frame.plugin.masterData.org.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import com.hzya.frame.web.entity.BaseEntity;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?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="masterData.dao.impl.MdmOrgDaoImpl">
|
||||
<mapper namespace="com.hzya.frame.plugin.masterData.org.dao.impl.MdmOrgDaoImpl">
|
||||
|
||||
<resultMap id="get-MdmOrgEntity-result" type="masterData.entity.MdmOrgEntity" >
|
||||
<resultMap id="get-MdmOrgEntity-result" type="com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" >
|
||||
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="documentRule" column="document_rule" jdbcType="VARCHAR"/>
|
||||
<result property="documentRuleNum" column="document_rule_num" jdbcType="INTEGER"/>
|
||||
|
@ -60,7 +60,7 @@
|
|||
,company_id
|
||||
</sql>
|
||||
<!-- 查询 采用==查询 -->
|
||||
<select id="entity_list_base" resultMap="get-MdmOrgEntity-result" parameterType = "masterData.entity.MdmOrgEntity">
|
||||
<select id="entity_list_base" resultMap="get-MdmOrgEntity-result" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity">
|
||||
select
|
||||
<include refid="MdmOrgEntity_Base_Column_List" />
|
||||
from mdm_org
|
||||
|
@ -98,7 +98,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 查询符合条件的数量 -->
|
||||
<select id="entity_count" resultType="Integer" parameterType = "masterData.entity.MdmOrgEntity">
|
||||
<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity">
|
||||
select count(1) from mdm_org
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="id != null and id != ''"> and id = #{id} </if>
|
||||
|
@ -134,7 +134,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 分页查询列表 采用like格式 -->
|
||||
<select id="entity_list_like" resultMap="get-MdmOrgEntity-result" parameterType = "masterData.entity.MdmOrgEntity">
|
||||
<select id="entity_list_like" resultMap="get-MdmOrgEntity-result" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity">
|
||||
select
|
||||
<include refid="MdmOrgEntity_Base_Column_List" />
|
||||
from mdm_org
|
||||
|
@ -172,7 +172,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 查询列表 字段采用or格式 -->
|
||||
<select id="MdmOrgentity_list_or" resultMap="get-MdmOrgEntity-result" parameterType = "masterData.entity.MdmOrgEntity">
|
||||
<select id="MdmOrgentity_list_or" resultMap="get-MdmOrgEntity-result" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity">
|
||||
select
|
||||
<include refid="MdmOrgEntity_Base_Column_List" />
|
||||
from mdm_org
|
||||
|
@ -210,7 +210,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "masterData.entity.MdmOrgEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
insert into mdm_org(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -316,7 +316,7 @@
|
|||
org_id = values(org_id),
|
||||
company_id = values(company_id)</insert>
|
||||
<!--通过主键修改方法-->
|
||||
<update id="entity_update" parameterType = "masterData.entity.MdmOrgEntity" >
|
||||
<update id="entity_update" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" >
|
||||
update mdm_org set
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="documentRule != null and documentRule != ''"> document_rule = #{documentRule},</if>
|
||||
|
@ -347,12 +347,12 @@ update mdm_org set
|
|||
where id = #{id}
|
||||
</update>
|
||||
<!-- 逻辑删除 -->
|
||||
<update id="entity_logicDelete" parameterType = "masterData.entity.MdmOrgEntity" >
|
||||
<update id="entity_logicDelete" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" >
|
||||
update mdm_org set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
||||
where id = #{id}
|
||||
</update>
|
||||
<!-- 多条件逻辑删除 -->
|
||||
<update id="entity_logicDelete_Multi_Condition" parameterType = "masterData.entity.MdmOrgEntity" >
|
||||
<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity" >
|
||||
update mdm_org set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="id != null and id != ''"> and id = #{id} </if>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package masterData.service;
|
||||
package com.hzya.frame.plugin.masterData.org.service;
|
||||
|
||||
import masterData.entity.MdmOrgEntity;
|
||||
import com.hzya.frame.basedao.service.IBaseService;
|
||||
import com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity;
|
||||
|
||||
/**
|
||||
* 组织档案(MdmOrg)表服务接口
|
||||
*
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package masterData.service.impl;
|
||||
package com.hzya.frame.plugin.masterData.org.service.impl;
|
||||
|
||||
import masterData.entity.MdmOrgEntity;
|
||||
import masterData.dao.IMdmOrgDao;
|
||||
import masterData.service.IMdmOrgService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.hzya.frame.plugin.masterData.org.dao.IMdmOrgDao;
|
||||
import com.hzya.frame.plugin.masterData.org.entity.MdmOrgEntity;
|
||||
import com.hzya.frame.plugin.masterData.org.service.IMdmOrgService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import javax.annotation.Resource;
|
||||
import com.hzya.frame.basedao.service.impl.BaseService;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package masterData.dao;
|
||||
package com.hzya.frame.plugin.masterData.project.dao;
|
||||
|
||||
import masterData.entity.MdmProjectEntity;
|
||||
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||
|
||||
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||
import com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity;
|
||||
|
||||
/**
|
||||
* 项目档案(mdm_project: table)表数据库访问层
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package masterData.dao.impl;
|
||||
package com.hzya.frame.plugin.masterData.project.dao.impl;
|
||||
|
||||
import masterData.entity.MdmProjectEntity;
|
||||
import masterData.dao.IMdmProjectDao;
|
||||
|
||||
import com.hzya.frame.plugin.masterData.project.dao.IMdmProjectDao;
|
||||
import com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
||||
/**
|
||||
|
@ -10,7 +11,7 @@ import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
|||
* @author makejava
|
||||
* @since 2024-06-07 18:29:23
|
||||
*/
|
||||
public class MdmProjectDaoImpl extends MybatisGenericDao<MdmProjectEntity, String> implements IMdmProjectDao{
|
||||
public class MdmProjectDaoImpl extends MybatisGenericDao<MdmProjectEntity, String> implements IMdmProjectDao {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package masterData.entity;
|
||||
package com.hzya.frame.plugin.masterData.project.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import com.hzya.frame.web.entity.BaseEntity;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?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="masterData.dao.impl.MdmProjectDaoImpl">
|
||||
<mapper namespace="com.hzya.frame.plugin.masterData.project.dao.impl.MdmProjectDaoImpl">
|
||||
|
||||
<resultMap id="get-MdmProjectEntity-result" type="masterData.entity.MdmProjectEntity" >
|
||||
<resultMap id="get-MdmProjectEntity-result" type="com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" >
|
||||
<result property="id" column="id" jdbcType="VARCHAR"/>
|
||||
<result property="documentRule" column="document_rule" jdbcType="VARCHAR"/>
|
||||
<result property="documentRuleNum" column="document_rule_num" jdbcType="INTEGER"/>
|
||||
|
@ -58,7 +58,7 @@
|
|||
,company_id
|
||||
</sql>
|
||||
<!-- 查询 采用==查询 -->
|
||||
<select id="entity_list_base" resultMap="get-MdmProjectEntity-result" parameterType = "masterData.entity.MdmProjectEntity">
|
||||
<select id="entity_list_base" resultMap="get-MdmProjectEntity-result" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity">
|
||||
select
|
||||
<include refid="MdmProjectEntity_Base_Column_List" />
|
||||
from mdm_project
|
||||
|
@ -95,7 +95,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 查询符合条件的数量 -->
|
||||
<select id="entity_count" resultType="Integer" parameterType = "masterData.entity.MdmProjectEntity">
|
||||
<select id="entity_count" resultType="Integer" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity">
|
||||
select count(1) from mdm_project
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="id != null and id != ''"> and id = #{id} </if>
|
||||
|
@ -130,7 +130,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 分页查询列表 采用like格式 -->
|
||||
<select id="entity_list_like" resultMap="get-MdmProjectEntity-result" parameterType = "masterData.entity.MdmProjectEntity">
|
||||
<select id="entity_list_like" resultMap="get-MdmProjectEntity-result" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity">
|
||||
select
|
||||
<include refid="MdmProjectEntity_Base_Column_List" />
|
||||
from mdm_project
|
||||
|
@ -167,7 +167,7 @@
|
|||
</select>
|
||||
|
||||
<!-- 查询列表 字段采用or格式 -->
|
||||
<select id="MdmProjectentity_list_or" resultMap="get-MdmProjectEntity-result" parameterType = "masterData.entity.MdmProjectEntity">
|
||||
<select id="MdmProjectentity_list_or" resultMap="get-MdmProjectEntity-result" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity">
|
||||
select
|
||||
<include refid="MdmProjectEntity_Base_Column_List" />
|
||||
from mdm_project
|
||||
|
@ -204,7 +204,7 @@
|
|||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="entity_insert" parameterType = "masterData.entity.MdmProjectEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
<insert id="entity_insert" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" keyProperty="id" useGeneratedKeys="true">
|
||||
insert into mdm_project(
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="id != null and id != ''"> id , </if>
|
||||
|
@ -307,7 +307,7 @@
|
|||
org_id = values(org_id),
|
||||
company_id = values(company_id)</insert>
|
||||
<!--通过主键修改方法-->
|
||||
<update id="entity_update" parameterType = "masterData.entity.MdmProjectEntity" >
|
||||
<update id="entity_update" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" >
|
||||
update mdm_project set
|
||||
<trim suffix="" suffixOverrides=",">
|
||||
<if test="documentRule != null and documentRule != ''"> document_rule = #{documentRule},</if>
|
||||
|
@ -337,12 +337,12 @@ update mdm_project set
|
|||
where id = #{id}
|
||||
</update>
|
||||
<!-- 逻辑删除 -->
|
||||
<update id="entity_logicDelete" parameterType = "masterData.entity.MdmProjectEntity" >
|
||||
<update id="entity_logicDelete" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" >
|
||||
update mdm_project set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
||||
where id = #{id}
|
||||
</update>
|
||||
<!-- 多条件逻辑删除 -->
|
||||
<update id="entity_logicDelete_Multi_Condition" parameterType = "masterData.entity.MdmProjectEntity" >
|
||||
<update id="entity_logicDelete_Multi_Condition" parameterType = "com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity" >
|
||||
update mdm_project set sts= 'N' ,modify_time = #{modify_time},modify_user_id = #{modify_user_id}
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="id != null and id != ''"> and id = #{id} </if>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package masterData.service;
|
||||
package com.hzya.frame.plugin.masterData.project.service;
|
||||
|
||||
import masterData.entity.MdmProjectEntity;
|
||||
import com.hzya.frame.basedao.service.IBaseService;
|
||||
import com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity;
|
||||
|
||||
/**
|
||||
* 项目档案(MdmProject)表服务接口
|
||||
*
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package masterData.service.impl;
|
||||
package com.hzya.frame.plugin.masterData.project.service.impl;
|
||||
|
||||
import masterData.entity.MdmProjectEntity;
|
||||
import masterData.dao.IMdmProjectDao;
|
||||
import masterData.service.IMdmProjectService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.hzya.frame.plugin.masterData.project.dao.IMdmProjectDao;
|
||||
import com.hzya.frame.plugin.masterData.project.entity.MdmProjectEntity;
|
||||
import com.hzya.frame.plugin.masterData.project.service.IMdmProjectService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import javax.annotation.Resource;
|
||||
import com.hzya.frame.basedao.service.impl.BaseService;
|
||||
|
|
|
@ -18,7 +18,7 @@ public class MdmModuleSourceDaoImpl extends MybatisGenericDao<MdmModuleSourceEnt
|
|||
//根据数据来源内类型是插件的应用类型做分组
|
||||
@Override
|
||||
public List<MdmModuleSourceEntity> MdmModuleSourceentityGroupByType() {
|
||||
List<MdmModuleSourceEntity> list =(List<MdmModuleSourceEntity>) super.selectList(getSqlIdPrifx() + "MdmModuleSourceentityGroupByType", "");
|
||||
List<MdmModuleSourceEntity> list =(List<MdmModuleSourceEntity>) super.selectList(getSqlIdPrifx() + "queryMdmModuleSourceentityGroupByType", "");
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue