|
|
@@ -1,8 +1,6 @@
|
|
|
package com.xjrsoft.module.liteflow.node;
|
|
|
|
|
|
import cn.hutool.core.convert.Convert;
|
|
|
-import com.xjrsoft.module.personnel.entity.ReservationSchool;
|
|
|
-import com.xjrsoft.module.student.entity.StudentLeave;
|
|
|
import com.xjrsoft.module.student.service.IStudentLeaveService;
|
|
|
import com.yomahub.liteflow.core.NodeComponent;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -27,8 +25,7 @@ public class StudentLeaveNode extends NodeComponent {
|
|
|
Long formId = Convert.toLong(value);
|
|
|
if (formId != null) {
|
|
|
// 数据处理
|
|
|
- StudentLeave dataObj = studentLeaveService.getById(formId);
|
|
|
- dataObj.setStatus(1);
|
|
|
+ studentLeaveService.hikvisionLeave(formId);
|
|
|
}
|
|
|
}
|
|
|
}
|