diff --git a/inventory-dao/src/main/java/com/rzyc/bean/check/StreetCheckMsg.java b/inventory-dao/src/main/java/com/rzyc/bean/check/StreetCheckMsg.java
index f0fa88b..aa8eee8 100644
--- a/inventory-dao/src/main/java/com/rzyc/bean/check/StreetCheckMsg.java
+++ b/inventory-dao/src/main/java/com/rzyc/bean/check/StreetCheckMsg.java
@@ -9,13 +9,13 @@ public class StreetCheckMsg {
@ExcelColumn(value = "街道名", col = 1)
- @ApiModelProperty("街道名")
+ @ApiModelProperty("地区名")
private String orgName;
- @ApiModelProperty("镇街用户数")
+ @ApiModelProperty("用户数")
private Integer streetNum;
- @ApiModelProperty("社区用户数")
+ @ApiModelProperty("用户数")
private Integer communityNum;
@ExcelColumn(value = "企业总数", col = 2)
diff --git a/inventory-dao/src/main/java/com/rzyc/mapper/DutyTreeMapper.java b/inventory-dao/src/main/java/com/rzyc/mapper/DutyTreeMapper.java
index bbda5d4..1ceee63 100644
--- a/inventory-dao/src/main/java/com/rzyc/mapper/DutyTreeMapper.java
+++ b/inventory-dao/src/main/java/com/rzyc/mapper/DutyTreeMapper.java
@@ -30,6 +30,10 @@ public interface DutyTreeMapper {
Integer delByUserId(@Param("userId") String userId,
@Param("targetType") Integer targetType);
+ /*删除用户责任书*/
+ Integer delByTargetId(@Param("userId") String userId,
+ @Param("targetId") String targetId);
+
/*责任树*/
DutyTree findTree(@Param("targetType") Integer targetType,
@Param("userId") String userId,
diff --git a/inventory-dao/src/main/java/com/rzyc/model/check/BookEntCheck.java b/inventory-dao/src/main/java/com/rzyc/model/check/BookEntCheck.java
index fb7fb09..da9c91e 100644
--- a/inventory-dao/src/main/java/com/rzyc/model/check/BookEntCheck.java
+++ b/inventory-dao/src/main/java/com/rzyc/model/check/BookEntCheck.java
@@ -24,9 +24,9 @@ public class BookEntCheck implements Serializable {
private String chkbillid;
private String checksite;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date begcheckdate;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date endcheckdate;
private String checkuniy;
@@ -79,11 +79,12 @@ public class BookEntCheck implements Serializable {
private Integer bookcheckscores;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date createdon;
private String createdby;
- @JsonFormat(pattern = "yyyy-MM-dd")
+
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date modifiedon;
private String modifiedby;
diff --git a/inventory-dao/src/main/java/com/rzyc/model/check/BookEntHT.java b/inventory-dao/src/main/java/com/rzyc/model/check/BookEntHT.java
index d40cd78..c51762c 100644
--- a/inventory-dao/src/main/java/com/rzyc/model/check/BookEntHT.java
+++ b/inventory-dao/src/main/java/com/rzyc/model/check/BookEntHT.java
@@ -53,7 +53,7 @@ public class BookEntHT implements Serializable {
@ApiModelProperty("隐患名称")
private String hiddenarea;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
@ApiModelProperty("登记时间")
@ExcelColumn(value = "登记时间",col = 4)
private Date confirmtime;
@@ -118,11 +118,11 @@ public class BookEntHT implements Serializable {
private String apprectifyimgbefore;
private String apprectifyimgafter;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date createdon;
private String createdby;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date modifiedon;
private String modifiedby;
diff --git a/inventory-dao/src/main/java/com/rzyc/model/check/BookenthtCompany.java b/inventory-dao/src/main/java/com/rzyc/model/check/BookenthtCompany.java
index 629586d..47bcece 100644
--- a/inventory-dao/src/main/java/com/rzyc/model/check/BookenthtCompany.java
+++ b/inventory-dao/src/main/java/com/rzyc/model/check/BookenthtCompany.java
@@ -16,7 +16,7 @@ public class BookenthtCompany implements Serializable {
private String bookentcheckid;
- @JsonFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date becheckedtime;
private String becheckedperson;
@@ -84,10 +84,12 @@ public class BookenthtCompany implements Serializable {
private String bookentcheckdetailid;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date createdon;
private String createdby;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private Date modifiedon;
private String modifiedby;
diff --git a/inventory-dao/src/main/java/com/rzyc/model/ent/SysEnterprise.java b/inventory-dao/src/main/java/com/rzyc/model/ent/SysEnterprise.java
index 5301956..5d60638 100644
--- a/inventory-dao/src/main/java/com/rzyc/model/ent/SysEnterprise.java
+++ b/inventory-dao/src/main/java/com/rzyc/model/ent/SysEnterprise.java
@@ -201,8 +201,7 @@ public class SysEnterprise implements Serializable {
@TableField("EstablishDate")
@ApiModelProperty("成立时间")
- @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
- private Date establishdate;
+ private String establishdate;
@TableField("RiskLevel")
@@ -901,11 +900,11 @@ public class SysEnterprise implements Serializable {
this.lrlinktel = lrlinktel;
}
- public Date getEstablishdate() {
+ public String getEstablishdate() {
return establishdate;
}
- public void setEstablishdate(Date establishdate) {
+ public void setEstablishdate(String establishdate) {
this.establishdate = establishdate;
}
diff --git a/inventory-dao/src/main/resources/mapper/DutyTreeMapper.xml b/inventory-dao/src/main/resources/mapper/DutyTreeMapper.xml
index f1b54da..a567129 100644
--- a/inventory-dao/src/main/resources/mapper/DutyTreeMapper.xml
+++ b/inventory-dao/src/main/resources/mapper/DutyTreeMapper.xml
@@ -237,6 +237,11 @@
delete from duty_tree where user_id = #{userId} and target_type = #{targetType}
+
+
+ delete from duty_tree where user_id = #{userId} and target_id = #{targetId}
+
+