gongyingshangxinxi denglu
This commit is contained in:
@ -138,6 +138,7 @@ mconfig:
|
||||
service-name-resps: biz-service-ebtp-resps #标段应答文件
|
||||
service-name-rsms: biz-service-ebtp-rsms #评审微服务
|
||||
service-name-tender: biz-service-ebtp-tender #标段投标微服务
|
||||
service-name-system: sys-manager-ebtp-project #系统管理微服务
|
||||
wfSectionNo: '080'
|
||||
wfSectionName: 标段重新评审审批单
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?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.chinaunicom.zyhy.ebtp.supplier.base.dao.CoscoSupplierBaseMapper">
|
||||
<mapper namespace="com.chinaunicom.zyhy.ebtp.supplier.base.dao.SupplierBaseMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.chinaunicom.zyhy.ebtp.supplier.base.entity.CoscoSupplierBase">
|
@ -36,13 +36,16 @@
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="selectByMainContactId" resultMap="BaseResultMap">
|
||||
<select id="selectByMainContactId" resultType="com.chinaunicom.zyhy.ebtp.supplier.base.dto.ContactDTO">
|
||||
select
|
||||
sub.id, sub.name, sub.phone, sub.email, sub.acount, sub.main, sub.status, sub.supplier_base_id
|
||||
from cosco_supplier_contact mainc,cosco_supplier_base sub
|
||||
where mainc.supplier_base_id =sub.supplier_base_id
|
||||
and mainc.main= '1' and sub.main='0'
|
||||
and mainc.id = #{id}
|
||||
and mainc.acount = #{searchVO.mainContactAccountId}
|
||||
<if test="searchVO.name!=null and searchVO.name!=''">
|
||||
and sub.name like concat('%', #{searchVO.name}, '%')
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user