Commit ba1be8c5 authored by KeYong's avatar KeYong

增加日志

parent 06fbba14
...@@ -135,6 +135,7 @@ public class Check extends BasicEntity { ...@@ -135,6 +135,7 @@ public class Check extends BasicEntity {
@Column(name="route_name") @Column(name="route_name")
private String routeName; private String routeName;
/** /**
* 评分 * 评分
*/ */
...@@ -412,4 +413,38 @@ public class Check extends BasicEntity { ...@@ -412,4 +413,38 @@ public class Check extends BasicEntity {
this.routeName = routeName; this.routeName = routeName;
} }
@Override
public String toString() {
return "Check{" +
"address='" + address + '\'' +
", checkMode='" + checkMode + '\'' +
", checkTime=" + checkTime +
", deviceId='" + deviceId + '\'' +
", error='" + error + '\'' +
", isOk='" + isOk + '\'' +
", latitude='" + latitude + '\'' +
", longitude='" + longitude + '\'' +
", orgCode='" + orgCode + '\'' +
", planId=" + planId +
", planName='" + planName + '\'' +
", planTaskId=" + planTaskId +
", planTaskDetailId=" + planTaskDetailId +
", pointId=" + pointId +
", pointName='" + pointName + '\'' +
", remark='" + remark + '\'' +
", routeId=" + routeId +
", routeName='" + routeName + '\'' +
", score=" + score +
", shotNumber=" + shotNumber +
", uploadTime=" + uploadTime +
", userId='" + userId + '\'' +
", userName='" + userName + '\'' +
", depId='" + depId + '\'' +
", depName='" + depName + '\'' +
", errorClassify='" + errorClassify + '\'' +
", checkInput=" + checkInput +
", checkShot=" + checkShot +
'}';
}
} }
\ No newline at end of file
...@@ -27,6 +27,8 @@ import com.yeejoin.amos.patrol.dao.entity.Plan; ...@@ -27,6 +27,8 @@ import com.yeejoin.amos.patrol.dao.entity.Plan;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.assertj.core.util.Sets; import org.assertj.core.util.Sets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.cglib.beans.BeanMap; import org.springframework.cglib.beans.BeanMap;
...@@ -155,6 +157,8 @@ public class CheckServiceImpl implements ICheckService { ...@@ -155,6 +157,8 @@ public class CheckServiceImpl implements ICheckService {
@Autowired @Autowired
private CheckInputMapper checkInputMapper; private CheckInputMapper checkInputMapper;
public static final Logger log = LoggerFactory.getLogger(CheckServiceImpl.class);
@Override @Override
public Page<CheckInfoVo> getCheckInfo(String toke,String product,String appKey,CheckInfoPageParam param) { public Page<CheckInfoVo> getCheckInfo(String toke,String product,String appKey,CheckInfoPageParam param) {
long total = checkMapper.getCheckInfoCount(param); long total = checkMapper.getCheckInfoCount(param);
...@@ -606,7 +610,7 @@ public class CheckServiceImpl implements ICheckService { ...@@ -606,7 +610,7 @@ public class CheckServiceImpl implements ICheckService {
} }
// check = checkDao.save(check); // check = checkDao.save(check);
try { try {
log.error("手机app保存巡检记录++++++++++++++++++++++" + check.toString() + "<Over><Over><Over><Over>");
check = checkDao.save(check); check = checkDao.save(check);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
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