@@ -189,7 +189,7 @@ public class StudentVisit extends BaseEntity {
private Long objectId;
- private int probStatus;
+ private Integer probStatus;
private String visitCyCle;
@@ -18,6 +18,8 @@ public class StudentVisitQueryInfo extends QueryInfo {
private Integer studentId;
+
@ApiModelProperty(value = "分部id", required = false)
private String organId;
@@ -137,4 +139,12 @@ public class StudentVisitQueryInfo extends QueryInfo {
public void setPurpose(String purpose) {
this.purpose = purpose;
}
+ public Integer getProbStatus() {
+ return probStatus;
+ }
+ public void setProbStatus(Integer probStatus) {
+ this.probStatus = probStatus;
@@ -155,10 +155,10 @@
<if test="endTime != null">
AND sv.visit_time_ <= #{endTime}
</if>
- <if test="visitCyCle != null and visitCyCle != ''">
+ <if test="visitCyCle != null ">
AND CONVERT (VARCHAR,sv.visit_time,120) LIKE CONCAT('%',#{visitCyCle},'%')
- <if test="probStatus != null and probStatus != ''">
+ <if test="probStatus != null">
AND sv.prob_status = #{probStatus}
@@ -621,7 +621,7 @@ public class TaskController extends BaseController {
@GetMapping(value = "/findAllWaitVisit")
public void findAllWaitVisit(){
Integer tenantId = TenantContextHolder.getTenantId();
- //查出所有在服务的学员
+ //查出所有在运营的学员
List<Student4operating> operatingStudents = studentDao.getOperatingStudents(new HashMap<>());
studentPreVisitService.batchInsert(operatingStudents);