|
@@ -89,31 +89,70 @@
|
|
|
pa.signature_evaluator_second
|
|
|
</sql>
|
|
|
<sql id="Program_Column_List">
|
|
|
- id,create_by,create_date,
|
|
|
- update_by,update_date,del_flag,
|
|
|
- contract_id,contract_name,client,
|
|
|
- client_name,amount,contract_type,
|
|
|
- name,no,project_type,
|
|
|
- approval_no,company,project_mould,
|
|
|
- property_holder,property_holder_name,location,
|
|
|
- is_first,year_num,check_year,
|
|
|
- project_manager,project_manager_name,report_type,
|
|
|
- industry,enterprise_type,risk_level,
|
|
|
- project_source,estimate,plan_end_time,
|
|
|
- use_num,appointment,work_hours,
|
|
|
- remarks,assessment_enterprise,assessment_enterprise_name,
|
|
|
- link_num,relationship,assessment_way,
|
|
|
- assessment_objective,assessment_date,num,
|
|
|
- project_development,delegate_project_type,assessment_object,
|
|
|
- work_begin_date,work_end_date,reporting_date,
|
|
|
- is_have,is_influence,mode,
|
|
|
- status,proc_ins_id,process_definition_id
|
|
|
+ ppli.id,
|
|
|
+ ppli.create_by,
|
|
|
+ ppli.create_date,
|
|
|
+ ppli.update_by,
|
|
|
+ ppli.update_date,
|
|
|
+ ppli.del_flag,
|
|
|
+ ppli.contract_id,
|
|
|
+ ppli.contract_name,
|
|
|
+ ppli.client,
|
|
|
+ ppli.client_name,
|
|
|
+ ppli.amount,
|
|
|
+ ppli.contract_type,
|
|
|
+ ppli.name,
|
|
|
+ ppli.no,
|
|
|
+ ppli.project_type,
|
|
|
+ ppli.approval_no,
|
|
|
+ ppli.company,
|
|
|
+ ppli.project_mould,
|
|
|
+ ppli.property_holder,
|
|
|
+ ppli.property_holder_name,
|
|
|
+ ppli.location,
|
|
|
+ ppli.is_first,
|
|
|
+ ppli.year_num,
|
|
|
+ ppli.check_year,
|
|
|
+ ppli.project_manager,
|
|
|
+ ppli.project_manager_name,
|
|
|
+ ppli.report_type,
|
|
|
+ ppli.industry,
|
|
|
+ ppli.enterprise_type,
|
|
|
+ ppli.risk_level,
|
|
|
+ ppli.project_source,
|
|
|
+ ppli.estimate,
|
|
|
+ ppli.plan_end_time,
|
|
|
+ ppli.use_num,
|
|
|
+ ppli.appointment,
|
|
|
+ ppli.work_hours,
|
|
|
+ ppli.remarks,
|
|
|
+ ppli.assessment_enterprise,
|
|
|
+ ppli.assessment_enterprise_name,
|
|
|
+ ppli.link_num,
|
|
|
+ ppli.relationship,
|
|
|
+ ppli.assessment_way,
|
|
|
+ ppli.assessment_objective,
|
|
|
+ ppli.assessment_date,
|
|
|
+ ppli.num,
|
|
|
+ ppli.project_development,
|
|
|
+ ppli.delegate_project_type,
|
|
|
+ ppli.assessment_object,
|
|
|
+ ppli.work_begin_date,
|
|
|
+ ppli.work_end_date,
|
|
|
+ ppli.reporting_date,
|
|
|
+ ppli.is_have,
|
|
|
+ ppli.is_influence,mode,
|
|
|
+ ppli.status,
|
|
|
+ ppli.proc_ins_id,
|
|
|
+ ppli.process_definition_id
|
|
|
</sql>
|
|
|
<select id="getProgram" resultType="com.jeeplus.test.program.configuration.projectList.domain.ProgramProjectListInfo">
|
|
|
select
|
|
|
- <include refid="Program_Column_List"></include>
|
|
|
+ <include refid="Program_Column_List"></include>,
|
|
|
+ wci.no AS contract_no
|
|
|
from program_project_list_info ppli
|
|
|
- where ppli.del_flag = '0' and id = #{program_id}
|
|
|
+ left join work_contract_info wci on wci.id = ppli.contract_id and wci.del_flag = '0'
|
|
|
+ where ppli.del_flag = '0' and ppli.id = #{program_id}
|
|
|
</select>
|
|
|
<select id="findByIdArchive" resultMap="BaseResultMap">
|
|
|
select
|