1.下发接口修改
2.工单接口开发
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.njcn.process.service;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.njcn.process.pojo.po.SupvPlanReturn;
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 总部监督计划退回表 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-06-17
|
||||
*/
|
||||
public interface ISupvPlanReturnService extends IService<SupvPlanReturn> {
|
||||
|
||||
|
||||
boolean add(SupvPlanReturn supvPlanReturn);
|
||||
|
||||
|
||||
|
||||
Page<SupvPlanReturn> pageList(BaseParam baseParam);
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.njcn.process.service.impl;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.process.mapper.SupvPlanReturnMapper;
|
||||
import com.njcn.process.pojo.po.SupvPlanReturn;
|
||||
import com.njcn.process.service.ISupvPlanReturnService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.web.factory.PageFactory;
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 总部监督计划退回表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-06-17
|
||||
*/
|
||||
@Service
|
||||
public class SupvPlanReturnServiceImpl extends ServiceImpl<SupvPlanReturnMapper, SupvPlanReturn> implements ISupvPlanReturnService {
|
||||
|
||||
@Override
|
||||
public boolean add(SupvPlanReturn supvPlanReturn) {
|
||||
return this.save(supvPlanReturn);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Page<SupvPlanReturn> pageList(BaseParam baseParam) {
|
||||
LambdaQueryWrapper<SupvPlanReturn> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
lambdaQueryWrapper.between(SupvPlanReturn::getCreateTime,baseParam.getSearchBeginTime(),baseParam.getSearchEndTime());
|
||||
return this.page(new Page<>(PageFactory.getPageNum(baseParam),PageFactory.getPageSize(baseParam)),lambdaQueryWrapper);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user