|
|
@@ -372,12 +372,13 @@
|
|
|
p.serial_number as serialNumber, p.create_time as createTime, p.approved_date as approvedDate,
|
|
|
p.accept_date as acceptDate, a.name as consultant, p.contacts, ad.name as founder,
|
|
|
p.project_name as projectName, p.project_catagory as projectCatagory, p.tech_field as techField, p.state,
|
|
|
- w.id as wid, w.website, w.account_number as accountNumber, w.department, w.password
|
|
|
+ w.id as wid, w.website, w.account_number as accountNumber, w.department, w.password, c.serial_number as contractNumber
|
|
|
FROM tech_project p
|
|
|
LEFT JOIN organization_identity i on i.uid = p.uid
|
|
|
LEFT JOIN admin a on p.consultant = a.id
|
|
|
LEFT JOIN admin ad on p.founder = ad.id
|
|
|
LEFT JOIN tech_website w on p.department = w.id
|
|
|
+ LEFT JOIN contract c on c.id = p.contract_id
|
|
|
<if test="principal != null">
|
|
|
left join contract_log l on p.contract_id=l.cid
|
|
|
</if>
|