|
@@ -113,7 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
p.is_survey, p.is_first, p.is_person, p.is_record, p.negotiate_type, p.proposed_contractor, p.proposal_progress, p.rolling_process, p.complex_type,
|
|
p.is_survey, p.is_first, p.is_person, p.is_record, p.negotiate_type, p.proposed_contractor, p.proposal_progress, p.rolling_process, p.complex_type,
|
|
p.is_cases_together, p.unite_proposal_id, p.satisfaction, p.members_opinion,p.cbdwdfwy,
|
|
p.is_cases_together, p.unite_proposal_id, p.satisfaction, p.members_opinion,p.cbdwdfwy,
|
|
p.zx_satisfaction,p.zx_opinion,p.is_key_point,p.key_point_argument,p.is_outstanding,p.outstanding_argument,p.create_by, p.create_time,
|
|
p.zx_satisfaction,p.zx_opinion,p.is_key_point,p.key_point_argument,p.is_outstanding,p.outstanding_argument,p.create_by, p.create_time,
|
|
- p.update_by, p.update_time, p.remark,u.is_agree as isAgree,u.type as dwType
|
|
|
|
|
|
+ p.update_by, p.update_time, p.remark,u.is_agree as isAgree
|
|
from proposal_info p
|
|
from proposal_info p
|
|
left join proposal_user u on p.proposal_id = u.proposal_id
|
|
left join proposal_user u on p.proposal_id = u.proposal_id
|
|
where u.user_id = #{proposalUserId} and u.type = '2'
|
|
where u.user_id = #{proposalUserId} and u.type = '2'
|
|
@@ -160,11 +160,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
p.is_survey, p.is_first, p.is_person, p.is_record, p.negotiate_type, p.proposed_contractor, p.proposal_progress, p.rolling_process, p.complex_type,
|
|
p.is_survey, p.is_first, p.is_person, p.is_record, p.negotiate_type, p.proposed_contractor, p.proposal_progress, p.rolling_process, p.complex_type,
|
|
p.is_cases_together, p.unite_proposal_id, p.satisfaction, p.members_opinion,p.cbdwdfwy,
|
|
p.is_cases_together, p.unite_proposal_id, p.satisfaction, p.members_opinion,p.cbdwdfwy,
|
|
p.zx_satisfaction,p.zx_opinion,p.is_key_point,p.key_point_argument,p.is_outstanding,p.outstanding_argument,p.create_by, p.create_time,
|
|
p.zx_satisfaction,p.zx_opinion,p.is_key_point,p.key_point_argument,p.is_outstanding,p.outstanding_argument,p.create_by, p.create_time,
|
|
- p.update_by, p.update_time, p.remark,u.is_agree as isAgree
|
|
|
|
|
|
+ p.update_by, p.update_time, p.remark,u.type as dwType
|
|
from proposal_info p
|
|
from proposal_info p
|
|
left join proposal_unit_reply u on p.proposal_id = u.proposal_id
|
|
left join proposal_unit_reply u on p.proposal_id = u.proposal_id
|
|
where u.dept_id = #{deptId}
|
|
where u.dept_id = #{deptId}
|
|
- <if test="type != null and type != ''"> and u.type = #{dwType}</if>
|
|
|
|
|
|
+ <if test="dwType != null and dwType != ''"> and u.type = #{dwType}</if>
|
|
<if test="proposalNumber != null and proposalNumber != ''"> and p.proposal_number = #{proposalNumber}</if>
|
|
<if test="proposalNumber != null and proposalNumber != ''"> and p.proposal_number = #{proposalNumber}</if>
|
|
<if test="title != null and title != ''"> and p.title = #{title}</if>
|
|
<if test="title != null and title != ''"> and p.title = #{title}</if>
|
|
<if test="proposalName != null and proposalName != ''"> and p.proposal_name like concat('%', #{proposalName}, '%')</if>
|
|
<if test="proposalName != null and proposalName != ''"> and p.proposal_name like concat('%', #{proposalName}, '%')</if>
|