Commit ba1be8c5 authored by KeYong's avatar KeYong

增加日志

parent 06fbba14
......@@ -135,6 +135,7 @@ public class Check extends BasicEntity {
@Column(name="route_name")
private String routeName;
/**
* 评分
*/
......@@ -412,4 +413,38 @@ public class Check extends BasicEntity {
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;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
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.Value;
import org.springframework.cglib.beans.BeanMap;
......@@ -155,6 +157,8 @@ public class CheckServiceImpl implements ICheckService {
@Autowired
private CheckInputMapper checkInputMapper;
public static final Logger log = LoggerFactory.getLogger(CheckServiceImpl.class);
@Override
public Page<CheckInfoVo> getCheckInfo(String toke,String product,String appKey,CheckInfoPageParam param) {
long total = checkMapper.getCheckInfoCount(param);
......@@ -606,7 +610,7 @@ public class CheckServiceImpl implements ICheckService {
}
// check = checkDao.save(check);
try {
log.error("手机app保存巡检记录++++++++++++++++++++++" + check.toString() + "<Over><Over><Over><Over>");
check = checkDao.save(check);
} catch (Exception e) {
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