1.添加接口请求时间设置

master
x_z 2 years ago
parent abe47786b5
commit e3c25b05b5

@ -19,6 +19,11 @@ public class ThrSystemDetailEntity {
private String localAction;
private String thirdAction;
/**
*
*/
private Integer time;
public String getValue() {
if (value == null)
return null;

@ -50,10 +50,11 @@ public class ThrSystemDetailServiceImpl implements ThrSystemDetailService {
return data;
}
@Transactional(rollbackFor = Exception.class)
@Override
public void updateInterfaceStatus(List<ThrSystemDetailEntity> list) {
for (ThrSystemDetailEntity thrSystemDetailEntity : list) {
//请求默认0分钟
thrSystemDetailEntity.setTime(0);
thrSystemDetailDao.updateBasicThirdSysDetail(thrSystemDetailEntity);
}
}

@ -14,6 +14,7 @@
<if test="name != null">name=#{name},</if>
<if test="fromType != null">fromType=#{fromType},</if>
<if test="thirdSysFk != null">thirdSysFk=#{thirdSysFk},</if>
<if test="time != null">time=#{time},</if>
</trim>
WHERE id=#{id}
</update>

@ -186,6 +186,8 @@ CALL Pro_Temp_ColumnWork('sys_pdf_template_relevance_biz', 'updateTime', 'dateti
CALL Pro_Temp_ColumnWork('sys_pdf_template_relevance_label', 'updateTime', 'datetime', 1);
CALL Pro_Temp_ColumnWork('sys_pdf_template_relevance_statemen', 'updateTime', 'datetime', 1);
CALL Pro_Temp_ColumnWork('thr_system_detail', 'time', 'int(5)', 1);
# CALL Pro_Temp_ColumnWork('sup_cert_set', 'foreign', 'tinyint', 3);
# CALL Pro_Temp_ColumnWork('sup_cert_set', 'needForeign', 'tinyint', 1);

Loading…
Cancel
Save