Commit e4473dfa authored by zhouts's avatar zhouts

项目代码初始化

parent eb3b49cc
package im.zhaojun.common.util;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ExcelCol {
private String colName;
private String colKey;
public String getColName() {
return colName;
}
public void setColName(String colName) {
this.colName = colName;
}
public String getColKey() {
return colKey;
}
public void setColKey(String colKey) {
this.colKey = colKey;
}
}
......@@ -5,7 +5,6 @@ import lombok.Data;
import javax.persistence.Id;
import java.io.Serializable;
@Data
public class Traffalarmrecordstate implements Serializable {
@Id
private String countdate;
......@@ -38,6 +37,118 @@ public class Traffalarmrecordstate implements Serializable {
private Long failpushcount;
private Long successpushcount;
public String getCountdate() {
return countdate;
}
public void setCountdate(String countdate) {
this.countdate = countdate;
}
public String getAreaid() {
return areaid;
}
public void setAreaid(String areaid) {
this.areaid = areaid;
}
public String getEventtype() {
return eventtype;
}
public void setEventtype(String eventtype) {
this.eventtype = eventtype;
}
public String getFdid() {
return fdid;
}
public void setFdid(String fdid) {
this.fdid = fdid;
}
public Integer getChannelid() {
return channelid;
}
public void setChannelid(Integer channelid) {
this.channelid = channelid;
}
public Integer getCounthour() {
return counthour;
}
public void setCounthour(Integer counthour) {
this.counthour = counthour;
}
public Short getChanneltype() {
return channeltype;
}
public void setChanneltype(Short channeltype) {
this.channeltype = channeltype;
}
public String getChannelname() {
return channelname;
}
public void setChannelname(String channelname) {
this.channelname = channelname;
}
public String getAreaname() {
return areaname;
}
public void setAreaname(String areaname) {
this.areaname = areaname;
}
public Long getTotalcount() {
return totalcount;
}
public void setTotalcount(Long totalcount) {
this.totalcount = totalcount;
}
public String getEventtypename() {
return eventtypename;
}
public void setEventtypename(String eventtypename) {
this.eventtypename = eventtypename;
}
public Long getNopushcount() {
return nopushcount;
}
public void setNopushcount(Long nopushcount) {
this.nopushcount = nopushcount;
}
public Long getFailpushcount() {
return failpushcount;
}
public void setFailpushcount(Long failpushcount) {
this.failpushcount = failpushcount;
}
public Long getSuccesspushcount() {
return successpushcount;
}
public void setSuccesspushcount(Long successpushcount) {
this.successpushcount = successpushcount;
}
private static final long serialVersionUID = 1L;
......
spring.profiles.active=dev
server.port=8082
server.port=8084
spring.datasource.username=root
spring.datasource.password=123456
#spring.datasource.url=jdbc:mysql://172.16.24.153:3306/imagepro?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.url=jdbc:mysql://192.168.168.212:3306/imagepro?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.url=jdbc:mysql://localhost:3306/imagepro?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.filters= stat
......
......@@ -185,7 +185,7 @@
</if>
</if>
union all
select a.* ,b.five from (SELECT
select a.* ,0 vels from (SELECT
CONCAT_WS( '_' ,A .sbbh , tdbh) dept_id,
A .tdmc dept_name,
A .xzbh parent_id,
......@@ -202,12 +202,7 @@
T .dept_id = A .xzbh
<if test="tdmc != null and tdmc!='' ">
and tdmc like '%${tdmc}%'
</if>)a left join (
select video_id, max(five) five
from vehicletodaystatistic b
where ts = date_format(now(), '%Y-%m-%d')
group by video_id
) b on dept_id=b.video_id
</if>)a
</select>
......
let state_sj=true;
let vue_sjcx = new Vue({
el: '#sjcx',
data: {
......@@ -774,7 +775,7 @@ wss.onmessage = function (evt) {
if_cz = true;
}
});
if (if_cz) {
// if (if_cz) {
//事件id
let sjid = data.id;
//报警时间
......@@ -932,7 +933,7 @@ wss.onmessage = function (evt) {
//播放声音
let myMp3 = document.getElementById("audio");
// audio.play();
}
// }
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment