27 changed files with 528 additions and 14 deletions
@ -0,0 +1,51 @@ |
|||||
|
<?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.kms.earlyStage.mapper.BsSlgcQqjdBidFileMapper"> |
||||
|
|
||||
|
<sql id="info"> |
||||
|
select |
||||
|
project_name, |
||||
|
bf.* |
||||
|
|
||||
|
from bs_slgc_qqjd_bid_file bf |
||||
|
left join bs_slgc_qqjd_spe_pro_proposal pp |
||||
|
on pp.pro_no = bf.pro_no and pp.project_code = bf.pro_code |
||||
|
</sql> |
||||
|
|
||||
|
<resultMap id="BsSlgcQqjdBidFile" type="BsSlgcQqjdBidFile"> |
||||
|
<id property="id" column="id"/> |
||||
|
<result property="bidProjectName" column="project_name"/> |
||||
|
<result property="proCode" column="pro_code"/> |
||||
|
<result property="loftName" column="loft_name"/> |
||||
|
<result property="nature" column="nature"/> |
||||
|
<result property="isDelay" column="is_delay"/> |
||||
|
<result property="bidOpenTime" column="bid_open_time"/> |
||||
|
<result property="bidOpenMethod" column="bid_open_method"/> |
||||
|
<result property="filePulish" column="file_pulish"/> |
||||
|
<result property="filePulishTime" column="file_pulish_time"/> |
||||
|
<result property="createTime" column="create_time"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
|
||||
|
<select id="getList" resultMap="BsSlgcQqjdBidFile"> |
||||
|
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind> |
||||
|
<include refid="info"/> |
||||
|
<where> |
||||
|
<if test="proNo!=null and proNo!=''"> |
||||
|
and bf.pro_no=#{proNo} |
||||
|
</if> |
||||
|
<if test="bidProjectName!=null and bidProjectName!=''"> |
||||
|
and bid_project_name like concat('%',#{bidProjectName},'%') |
||||
|
</if> |
||||
|
|
||||
|
<if test="proCode!=null and proCode!=''"> |
||||
|
and bf.pro_code like concat('%',#{proCode},'%') |
||||
|
</if> |
||||
|
</where> |
||||
|
order by bf.${orderBy} desc LIMIT #{pageNum},#{pageSize}; |
||||
|
</select> |
||||
|
|
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,46 @@ |
|||||
|
<?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.kms.earlyStage.mapper.BsSlgcQqjdContractFulfillingNoticeMapper"> |
||||
|
|
||||
|
<sql id="info"> |
||||
|
select |
||||
|
project_name, |
||||
|
bn.* |
||||
|
|
||||
|
from bs_slgc_qqjd_contract_fulfilling_notice bn |
||||
|
left join bs_slgc_qqjd_spe_pro_proposal pp |
||||
|
on pp.pro_no = bn.pro_no and pp.project_code = bn.pro_code |
||||
|
</sql> |
||||
|
|
||||
|
<resultMap id="BsSlgcQqjdContractFulfillingNotice" type="BsSlgcQqjdContractFulfillingNotice"> |
||||
|
<id property="id" column="id"/> |
||||
|
<result property="bidProjectName" column="project_name"/> |
||||
|
<result property="proCode" column="pro_code"/> |
||||
|
<result property="contractName" column="contract_name"/> |
||||
|
<result property="biderWinName" column="bid_win_name"/> |
||||
|
<result property="contractAmount" column="contract_amount"/> |
||||
|
<result property="contractPeriod" column="contract_period"/> |
||||
|
<result property="contractSignTime" column="contract_sign_time"/> |
||||
|
<result property="createTime" column="create_time"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
|
||||
|
<select id="getList" resultMap="BsSlgcQqjdContractFulfillingNotice"> |
||||
|
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind> |
||||
|
<include refid="info"/> |
||||
|
<where> |
||||
|
<if test="proNo!=null and proNo!=''"> |
||||
|
and bn.pro_no=#{proNo} |
||||
|
</if> |
||||
|
|
||||
|
<if test="proCode!=null and proCode!=''"> |
||||
|
and bn.pro_code like concat('%',#{proCode},'%') |
||||
|
</if> |
||||
|
</where> |
||||
|
order by bn.${orderBy} desc LIMIT #{pageNum},#{pageSize}; |
||||
|
</select> |
||||
|
|
||||
|
|
||||
|
</mapper> |
@ -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.kms.earlyStage.mapper.ProjectBidNoticeMapper"> |
||||
|
|
||||
|
<sql id="info"> |
||||
|
select |
||||
|
project_name, |
||||
|
bn.* |
||||
|
|
||||
|
from bs_slgc_qqjd_pro_bid_notice bn |
||||
|
left join bs_slgc_qqjd_spe_pro_proposal pp |
||||
|
on pp.pro_no = bn.pro_no and pp.project_code = bn.project_code |
||||
|
</sql> |
||||
|
|
||||
|
<resultMap id="ProjectBidNotice" type="ProjectBidNotice"> |
||||
|
<id property="id" column="id"/> |
||||
|
<result property="bidProjectName" column="project_name"/> |
||||
|
|
||||
|
<result property="projectCode" column="project_code"/> |
||||
|
<result property="lotName" column="LOT_NAME"/> |
||||
|
<result property="noticeNature" column="NOTICE_NATURE"/> |
||||
|
<result property="reviewQualificationMethod" column="REVIEW_QUALIFICATION_METHOD"/> |
||||
|
<result property="bidProjectLocation" column="BID_PROJECT_LOCATION"/> |
||||
|
<result property="fundingSource" column="FUNDING_SOURCE"/> |
||||
|
<result property="fundingSourceConstitute" column="FUNDING_SOURCE_CONSTITUTE"/> |
||||
|
<result property="createTime" column="create_time"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
|
||||
|
<select id="getList" resultMap="ProjectBidNotice"> |
||||
|
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind> |
||||
|
<include refid="info"/> |
||||
|
<where> |
||||
|
<if test="proNo!=null and proNo!=''"> |
||||
|
and bn.pro_no=#{proNo} |
||||
|
</if> |
||||
|
|
||||
|
<if test="projectCode!=null and projectCode!=''"> |
||||
|
and bn.project_code like concat('%',#{projectCode},'%') |
||||
|
</if> |
||||
|
</where> |
||||
|
order by bn.${orderBy} desc LIMIT #{pageNum},#{pageSize}; |
||||
|
</select> |
||||
|
|
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,47 @@ |
|||||
|
<?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.kms.earlyStage.mapper.ProjectBidResultMapper"> |
||||
|
|
||||
|
<sql id="info"> |
||||
|
select |
||||
|
project_name, |
||||
|
br.* |
||||
|
|
||||
|
from bs_slgc_qqjd_pro_bid_result br |
||||
|
left join bs_slgc_qqjd_spe_pro_proposal pp |
||||
|
on pp.pro_no = br.pro_no and pp.project_code = br.project_code |
||||
|
</sql> |
||||
|
|
||||
|
<resultMap id="ProjectBidResult" type="ProjectBidResult"> |
||||
|
<id property="id" column="id"/> |
||||
|
<result property="bidProjectName" column="project_name"/> |
||||
|
|
||||
|
<result property="projectCode" column="project_code"/> |
||||
|
|
||||
|
<result property="successfulBidder" column="SUCCESSFUL_BIDDER"/> |
||||
|
<result property="bidWinningPrice" column="BID_WINNING_PRICE"/> |
||||
|
<result property="deliveryTime" column="DELIVERY_TIME"/> |
||||
|
<result property="bidWinningTime" column="BID_WINNING_TIME"/> |
||||
|
<result property="createTime" column="create_time"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
|
||||
|
<select id="getList" resultMap="ProjectBidResult"> |
||||
|
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind> |
||||
|
<include refid="info"/> |
||||
|
<where> |
||||
|
<if test="proNo!=null and proNo!=''"> |
||||
|
and br.pro_no=#{proNo} |
||||
|
</if> |
||||
|
<if test="projectCode!=null and projectCode!=''"> |
||||
|
and br.project_code like concat('%',#{projectCode},'%') |
||||
|
</if> |
||||
|
|
||||
|
</where> |
||||
|
order by br.${orderBy} desc LIMIT #{pageNum},#{pageSize}; |
||||
|
</select> |
||||
|
|
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,43 @@ |
|||||
|
<?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.kms.earlyStage.mapper.ProjectBidWiningMapper"> |
||||
|
|
||||
|
<sql id="info"> |
||||
|
select |
||||
|
project_name, |
||||
|
bw.* |
||||
|
|
||||
|
from bs_slgc_qqjd_pro_bid_winning bw |
||||
|
left join bs_slgc_qqjd_spe_pro_proposal pp |
||||
|
on pp.pro_no = bw.pro_no and pp.project_code = bw.project_code |
||||
|
</sql> |
||||
|
|
||||
|
<resultMap id="ProjectBidWining" type="ProjectBidWining"> |
||||
|
<id property="id" column="id"/> |
||||
|
<result property="bidProjectName" column="project_name"/> |
||||
|
<result property="projectCode" column="project_code"/> |
||||
|
<result property="bidQuotation" column="BID_QUOTATION"/> |
||||
|
<result property="publicityStartTime" column="PUBLICITY_START_TIME"/> |
||||
|
<result property="publicityEndTime" column="PUBLICITY_START_TIME"/> |
||||
|
<result property="createTime" column="create_time"/> |
||||
|
</resultMap> |
||||
|
|
||||
|
|
||||
|
<select id="getList" resultMap="ProjectBidWining"> |
||||
|
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind> |
||||
|
<include refid="info"/> |
||||
|
<where> |
||||
|
<if test="proNo!=null and proNo!=''"> |
||||
|
and bw.pro_no=#{proNo} |
||||
|
</if> |
||||
|
<if test="projectCode!=null and projectCode!=''"> |
||||
|
and bw.project_name like concat('%',#{projectCode},'%') |
||||
|
</if> |
||||
|
</where> |
||||
|
order by bw.${orderBy} desc LIMIT #{pageNum},#{pageSize}; |
||||
|
</select> |
||||
|
|
||||
|
|
||||
|
</mapper> |
Loading…
Reference in new issue