|
@@ -62,7 +62,7 @@ db = dataset.connect('mysql://hhh7796hhh:lYmWsu^ujcA1@hhh-v57-cluster.cluster-cm
|
|
|
# statement = "SELECT * FROM `execute_form` WHERE (contract_time < now()) AND is_close='N' AND is_delete='N' AND creator IS NOT NULL AND creator != 'ivan@hhh.com.tw' ORDER BY contract_time"
|
|
|
|
|
|
# 逾期日期起算日
|
|
|
-overdue_date = '2021-06-25'
|
|
|
+overdue_date = '2021-07-12'
|
|
|
|
|
|
# 所有逾期合約
|
|
|
q1 = "SELECT DISTINCT(ef.exf_id) \
|
|
@@ -105,11 +105,11 @@ if q2_result_count > 0: # 有逾期執行項目
|
|
|
<tr style='text-align:left;'> \
|
|
|
<th style='width:5%;'>#</th> \
|
|
|
<th>合約</th> \
|
|
|
- <th style='width:5%;'>設計公司</th> \
|
|
|
- <th style='width:10%;'>合約到期日</th> \
|
|
|
+ <th style='width:20%;'>設計公司</th> \
|
|
|
+ <th style='width:15%;'>合約到期日</th> \
|
|
|
<th style='width:5%;'>負責業務</th> \
|
|
|
- <th style='width:10%;'>執行項</th> \
|
|
|
- <th style='width:10%;'>預定到期日</th> \
|
|
|
+ <th style='width:20%;'>執行項</th> \
|
|
|
+ <th style='width:15%;'>預定到期日</th> \
|
|
|
</tr>";
|
|
|
|
|
|
count = 1
|