|
|
@@ -412,11 +412,10 @@
|
|
|
select count(1)
|
|
|
FROM tech_project p
|
|
|
LEFT JOIN organization_identity i on i.uid = p.uid
|
|
|
- LEFT JOIN tech_website w on p.department = w.id
|
|
|
<if test="principal != null">
|
|
|
left join contract_log l on p.contract_id=l.cid
|
|
|
</if>
|
|
|
- where p.deleted_sign = 0 and w.deleted_sign = 0
|
|
|
+ where p.deleted_sign = 0
|
|
|
<if test="principal != null">
|
|
|
and l.principal = #{principal,jdbcType=VARCHAR}
|
|
|
</if>
|