系统bug修改
This commit is contained in:
parent
6cb78673f9
commit
b0986b9751
|
|
@ -23,6 +23,7 @@ import org.quartz.SchedulerException;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.PostConstruct;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
@ -201,6 +202,7 @@ public class SysJobController extends BaseController
|
||||||
@RequiresPermissions("monitor:job:updateVideoToken")
|
@RequiresPermissions("monitor:job:updateVideoToken")
|
||||||
@DeleteMapping("/{updateVideoToken}")
|
@DeleteMapping("/{updateVideoToken}")
|
||||||
@SysLog(title = "定时任务", businessType = OperaType.DELETE,logType = 0,module = "系统监控->定时任务",details = "定时更新视频Token")
|
@SysLog(title = "定时任务", businessType = OperaType.DELETE,logType = 0,module = "系统监控->定时任务",details = "定时更新视频Token")
|
||||||
|
@PostConstruct
|
||||||
public AjaxResult updateVideoToken() throws SchedulerException, TaskException
|
public AjaxResult updateVideoToken() throws SchedulerException, TaskException
|
||||||
{
|
{
|
||||||
jobService.updateVideoToken();
|
jobService.updateVideoToken();
|
||||||
|
|
|
||||||
|
|
@ -161,6 +161,10 @@ public class SubPerson extends BaseBean implements Serializable {
|
||||||
private int dataType=0;
|
private int dataType=0;
|
||||||
|
|
||||||
private List<String> proInsId;
|
private List<String> proInsId;
|
||||||
|
/**
|
||||||
|
* 文件是否存在
|
||||||
|
*/
|
||||||
|
private String fileIsActive;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,9 @@
|
||||||
</foreach>
|
</foreach>
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="status==2 or status=='2'">
|
||||||
|
and lpc.into_status= #{status}
|
||||||
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="getAuditRecord" resultType="com.bonus.project.domain.AuditBean">
|
<select id="getAuditRecord" resultType="com.bonus.project.domain.AuditBean">
|
||||||
<if test="userType == '01'">
|
<if test="userType == '01'">
|
||||||
|
|
|
||||||
|
|
@ -397,7 +397,7 @@
|
||||||
'已入场', '已离场')) as status
|
'已入场', '已离场')) as status
|
||||||
from (select @rowNum := 0) r,pt_cons_person pcp
|
from (select @rowNum := 0) r,pt_cons_person pcp
|
||||||
left join
|
left join
|
||||||
(select cons_persion_id,pro_id,cont_uuid,sub_uuid,uuid,admission_date,departure_date from
|
(select cons_persion_id,pro_id,cont_uuid,sub_uuid,uuid,admission_date,departure_date,is_exist_file from
|
||||||
lk_cont_person lcp
|
lk_cont_person lcp
|
||||||
<if test="userType != '00'">
|
<if test="userType != '00'">
|
||||||
where lcp.pro_id = #{proId}
|
where lcp.pro_id = #{proId}
|
||||||
|
|
@ -413,6 +413,9 @@
|
||||||
<if test="consUuid != null and consUuid != ''">
|
<if test="consUuid != null and consUuid != ''">
|
||||||
and re.cont_uuid = #{consUuid}
|
and re.cont_uuid = #{consUuid}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="fileIsActive!=null and fileIsActive!=''">
|
||||||
|
and re.is_exist_file=#{fileIsActive}
|
||||||
|
</if>
|
||||||
<if test="subUuid != null and subUuid != ''">
|
<if test="subUuid != null and subUuid != ''">
|
||||||
and re.sub_uuid = #{subUuid}
|
and re.sub_uuid = #{subUuid}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue