fix
This commit is contained in:
parent
1ebb514d10
commit
515dadf812
@ -71,8 +71,7 @@ public class AssessManagerController {
|
||||
if(flowStart == null){
|
||||
return R.error("没有此条记录");
|
||||
}
|
||||
resultRecordMapper.batchDeleteByStartId(flowStart.getId());
|
||||
assessManagerService.accessDelete(flowStart);
|
||||
return R.ok();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "报表统计实体")
|
||||
@ -13,4 +14,7 @@ public class ChartStatistical {
|
||||
|
||||
@ApiModelProperty(value = "人数",name = "num")
|
||||
private int num = 0;
|
||||
|
||||
@ApiModelProperty(value = "是否被选中",name = "check")
|
||||
private int check;
|
||||
}
|
||||
@ -16,4 +16,6 @@ public interface AssessManagerService {
|
||||
|
||||
|
||||
PageUtils assessDetail(AssessDetailReq req);
|
||||
|
||||
void accessDelete(FlowStart flowStart);
|
||||
}
|
||||
|
||||
@ -78,4 +78,12 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
||||
);
|
||||
return pageUtils;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void accessDelete(FlowStart flowStart) {
|
||||
flowStart.setIsDelete(1);
|
||||
flowStartMapper.updateFlowStartById(flowStart);
|
||||
resultRecordMapper.batchDeleteByStartId(flowStart.getId());
|
||||
return ;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user