[修改] target

This commit is contained in:
bupengxiang
2023-05-08 10:34:12 +08:00
parent 713df8cc87
commit 3542bd6899
705 changed files with 116654 additions and 0 deletions
@@ -0,0 +1,48 @@
<?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.adc.da.sys.dao.mysql.OrgEODao">
<!-- 查询条件 -->
<sql id="Base_Where_Clause">
<if test="pageVO.id != null and pageVO.id !=''">
and id = #{pageVO.id}
</if>
<if test="pageVO.orgCode != null and pageVO.orgCode != ''">
and ORG_CODE = #{pageVO.orgCode}
</if>
<if test="pageVO.orgName != null and pageVO.orgName != ''">
and ORG_NAME LIKE CONCAT(CONCAT('%',#{pageVO.orgName}) ,'%')
</if>
<if test="pageVO.orgLevel != null">
and ORG_LEVEL = #{pageVO.orgLevel}
</if>
<if test="pageVO.supOrgCode != null and pageVO.supOrgCode !=''">
and SUP_ORG_CODE = #{pageVO.supOrgCode}
</if>
<if test="pageVO.orgShortName != null and pageVO.orgShortName != ''">
and ORG_SHORT_NAME = #{pageVO.orgShortName}
</if>
<if test="pageVO.attribution != null and pageVO.attribution != ''">
and ATTRIBUTION = #{pageVO.attribution}
</if>
<if test="pageVO.bmdm14 != null and pageVO.bmdm14 != ''">
and BMDM_14 = #{pageVO.bmdm14}
</if>
<if test="pageVO.status != null">
and STATUS = #{pageVO.status}
</if>
</sql>
<select id="selectListByVO" resultType="com.adc.da.sys.entity.OrgEO">
select * from TS_ORG
<where>
<include refid="Base_Where_Clause"/>
</where>
</select>
<select id="selectPageByVO" resultType="com.adc.da.sys.entity.OrgEO">
select * from TS_ORG
<where>
<include refid="Base_Where_Clause"/>
</where>
</select>
</mapper>