榕图部分接口
This commit is contained in:
parent
8d21ed5bb3
commit
ae4bd6bc38
@ -0,0 +1,139 @@
|
||||
package com.zhgd.xmgl.modules.rt.controller;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtDesignChangeContactSheet;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtDesignChangeContactSheetService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
|
||||
import org.simpleframework.xml.core.Validate;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 榕图-设计变更联系单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/rtDesignChangeContactSheet")
|
||||
@Slf4j
|
||||
@Api(tags = "榕图-设计变更联系单相关Api")
|
||||
public class RtDesignChangeContactSheetController {
|
||||
@Autowired
|
||||
private IRtDesignChangeContactSheetService rtDesignChangeContactSheetService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "分页列表查询榕图-设计变更联系单信息", notes = "分页列表查询榕图-设计变更联系单信息", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<RtDesignChangeContactSheet>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtDesignChangeContactSheetService.queryPageList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "列表查询榕图-设计变更联系单信息", notes = "列表查询榕图-设计变更联系单信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<RtDesignChangeContactSheet>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtDesignChangeContactSheetService.queryList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param rtDesignChangeContactSheet
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加榕图-设计变更联系单信息", notes = "添加榕图-设计变更联系单信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<RtDesignChangeContactSheet> add(@RequestBody @Validate RtDesignChangeContactSheet rtDesignChangeContactSheet) {
|
||||
rtDesignChangeContactSheetService.add(rtDesignChangeContactSheet);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param rtDesignChangeContactSheet
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "编辑榕图-设计变更联系单信息", notes = "编辑榕图-设计变更联系单信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<RtDesignChangeContactSheet> edit(@RequestBody RtDesignChangeContactSheet rtDesignChangeContactSheet) {
|
||||
rtDesignChangeContactSheetService.edit(rtDesignChangeContactSheet);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除榕图-设计变更联系单信息", notes = "删除榕图-设计变更联系单信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-设计变更联系单ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<RtDesignChangeContactSheet> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
String id = MapUtils.getString(map, "id");
|
||||
Result<RtDesignChangeContactSheet> result = new Result<RtDesignChangeContactSheet>();
|
||||
RtDesignChangeContactSheet rtDesignChangeContactSheet = rtDesignChangeContactSheetService.getById(id);
|
||||
if (rtDesignChangeContactSheet == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = rtDesignChangeContactSheetService.removeById(id);
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "通过id查询榕图-设计变更联系单信息", notes = "通过id查询榕图-设计变更联系单信息", httpMethod = "GET")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-设计变更联系单ID", paramType = "query", required = true, dataType = "Integer")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<RtDesignChangeContactSheet> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
Result<RtDesignChangeContactSheet> result = new Result<RtDesignChangeContactSheet>();
|
||||
RtDesignChangeContactSheet rtDesignChangeContactSheet = rtDesignChangeContactSheetService.getById(id);
|
||||
if (rtDesignChangeContactSheet == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(rtDesignChangeContactSheet);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,139 @@
|
||||
package com.zhgd.xmgl.modules.rt.controller;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtMaterialOrder;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtMaterialOrderService;
|
||||
|
||||
import org.simpleframework.xml.core.Validate;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 榕图-物资订单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/rtMaterialOrder")
|
||||
@Slf4j
|
||||
@Api(tags = "榕图-物资订单相关Api")
|
||||
public class RtMaterialOrderController {
|
||||
@Autowired
|
||||
private IRtMaterialOrderService rtMaterialOrderService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "分页列表查询榕图-物资订单信息", notes = "分页列表查询榕图-物资订单信息", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<RtMaterialOrder>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtMaterialOrderService.queryPageList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "列表查询榕图-物资订单信息", notes = "列表查询榕图-物资订单信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<RtMaterialOrder>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtMaterialOrderService.queryList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param rtMaterialOrder
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加榕图-物资订单信息", notes = "添加榕图-物资订单信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<RtMaterialOrder> add(@RequestBody @Validate RtMaterialOrder rtMaterialOrder) {
|
||||
rtMaterialOrderService.add(rtMaterialOrder);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param rtMaterialOrder
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "编辑榕图-物资订单信息", notes = "编辑榕图-物资订单信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<RtMaterialOrder> edit(@RequestBody RtMaterialOrder rtMaterialOrder) {
|
||||
rtMaterialOrderService.edit(rtMaterialOrder);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除榕图-物资订单信息", notes = "删除榕图-物资订单信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-物资订单ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<RtMaterialOrder> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
String id = MapUtils.getString(map, "id");
|
||||
Result<RtMaterialOrder> result = new Result<RtMaterialOrder>();
|
||||
RtMaterialOrder rtMaterialOrder = rtMaterialOrderService.getById(id);
|
||||
if (rtMaterialOrder == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = rtMaterialOrderService.removeById(id);
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "通过id查询榕图-物资订单信息", notes = "通过id查询榕图-物资订单信息", httpMethod = "GET")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-物资订单ID", paramType = "query", required = true, dataType = "Integer")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<RtMaterialOrder> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
Result<RtMaterialOrder> result = new Result<RtMaterialOrder>();
|
||||
RtMaterialOrder rtMaterialOrder = rtMaterialOrderService.getById(id);
|
||||
if (rtMaterialOrder == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(rtMaterialOrder);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,139 @@
|
||||
package com.zhgd.xmgl.modules.rt.controller;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtNewTechnologiesAndNewProcessService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtNewTechnologiesAndNewProcess;
|
||||
|
||||
import org.simpleframework.xml.core.Validate;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 榕图-新技术新工艺汇编
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/rtNewTechnologiesAndNewProcess")
|
||||
@Slf4j
|
||||
@Api(tags = "榕图-新技术新工艺汇编相关Api")
|
||||
public class RtNewTechnologiesAndNewProcessController {
|
||||
@Autowired
|
||||
private IRtNewTechnologiesAndNewProcessService rtNewTechnologiesAndNewProcessService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "分页列表查询榕图-新技术新工艺汇编信息", notes = "分页列表查询榕图-新技术新工艺汇编信息", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<RtNewTechnologiesAndNewProcess>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtNewTechnologiesAndNewProcessService.queryPageList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "列表查询榕图-新技术新工艺汇编信息", notes = "列表查询榕图-新技术新工艺汇编信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<RtNewTechnologiesAndNewProcess>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtNewTechnologiesAndNewProcessService.queryList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param rtNewTechnologiesAndNewProcess
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加榕图-新技术新工艺汇编信息", notes = "添加榕图-新技术新工艺汇编信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<RtNewTechnologiesAndNewProcess> add(@RequestBody @Validate RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess) {
|
||||
rtNewTechnologiesAndNewProcessService.add(rtNewTechnologiesAndNewProcess);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param rtNewTechnologiesAndNewProcess
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "编辑榕图-新技术新工艺汇编信息", notes = "编辑榕图-新技术新工艺汇编信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<RtNewTechnologiesAndNewProcess> edit(@RequestBody RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess) {
|
||||
rtNewTechnologiesAndNewProcessService.edit(rtNewTechnologiesAndNewProcess);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除榕图-新技术新工艺汇编信息", notes = "删除榕图-新技术新工艺汇编信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-新技术新工艺汇编ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<RtNewTechnologiesAndNewProcess> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
String id = MapUtils.getString(map, "id");
|
||||
Result<RtNewTechnologiesAndNewProcess> result = new Result<RtNewTechnologiesAndNewProcess>();
|
||||
RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess = rtNewTechnologiesAndNewProcessService.getById(id);
|
||||
if (rtNewTechnologiesAndNewProcess == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = rtNewTechnologiesAndNewProcessService.removeById(id);
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "通过id查询榕图-新技术新工艺汇编信息", notes = "通过id查询榕图-新技术新工艺汇编信息", httpMethod = "GET")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-新技术新工艺汇编ID", paramType = "query", required = true, dataType = "Integer")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<RtNewTechnologiesAndNewProcess> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
Result<RtNewTechnologiesAndNewProcess> result = new Result<RtNewTechnologiesAndNewProcess>();
|
||||
RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess = rtNewTechnologiesAndNewProcessService.getById(id);
|
||||
if (rtNewTechnologiesAndNewProcess == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(rtNewTechnologiesAndNewProcess);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,139 @@
|
||||
package com.zhgd.xmgl.modules.rt.controller;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtProgressPaymentContract;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtProgressPaymentContractService;
|
||||
|
||||
import org.simpleframework.xml.core.Validate;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 榕图-进度款合同
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/rtProgressPaymentContract")
|
||||
@Slf4j
|
||||
@Api(tags = "榕图-进度款合同相关Api")
|
||||
public class RtProgressPaymentContractController {
|
||||
@Autowired
|
||||
private IRtProgressPaymentContractService rtProgressPaymentContractService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "分页列表查询榕图-进度款合同信息", notes = "分页列表查询榕图-进度款合同信息", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<RtProgressPaymentContract>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtProgressPaymentContractService.queryPageList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "列表查询榕图-进度款合同信息", notes = "列表查询榕图-进度款合同信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<RtProgressPaymentContract>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtProgressPaymentContractService.queryList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param rtProgressPaymentContract
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加榕图-进度款合同信息", notes = "添加榕图-进度款合同信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<RtProgressPaymentContract> add(@RequestBody @Validate RtProgressPaymentContract rtProgressPaymentContract) {
|
||||
rtProgressPaymentContractService.add(rtProgressPaymentContract);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param rtProgressPaymentContract
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "编辑榕图-进度款合同信息", notes = "编辑榕图-进度款合同信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<RtProgressPaymentContract> edit(@RequestBody RtProgressPaymentContract rtProgressPaymentContract) {
|
||||
rtProgressPaymentContractService.edit(rtProgressPaymentContract);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除榕图-进度款合同信息", notes = "删除榕图-进度款合同信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-进度款合同ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<RtProgressPaymentContract> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
String id = MapUtils.getString(map, "id");
|
||||
Result<RtProgressPaymentContract> result = new Result<RtProgressPaymentContract>();
|
||||
RtProgressPaymentContract rtProgressPaymentContract = rtProgressPaymentContractService.getById(id);
|
||||
if (rtProgressPaymentContract == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = rtProgressPaymentContractService.removeById(id);
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "通过id查询榕图-进度款合同信息", notes = "通过id查询榕图-进度款合同信息", httpMethod = "GET")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-进度款合同ID", paramType = "query", required = true, dataType = "Integer")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<RtProgressPaymentContract> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
Result<RtProgressPaymentContract> result = new Result<RtProgressPaymentContract>();
|
||||
RtProgressPaymentContract rtProgressPaymentContract = rtProgressPaymentContractService.getById(id);
|
||||
if (rtProgressPaymentContract == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(rtProgressPaymentContract);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,139 @@
|
||||
package com.zhgd.xmgl.modules.rt.controller;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtTool;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtToolService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
|
||||
import org.simpleframework.xml.core.Validate;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 榕图-工器具
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/rtTool")
|
||||
@Slf4j
|
||||
@Api(tags = "榕图-工器具相关Api")
|
||||
public class RtToolController {
|
||||
@Autowired
|
||||
private IRtToolService rtToolService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "分页列表查询榕图-工器具信息", notes = "分页列表查询榕图-工器具信息", httpMethod = "GET")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<RtTool>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtToolService.queryPageList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "列表查询榕图-工器具信息", notes = "列表查询榕图-工器具信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<RtTool>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(rtToolService.queryList(paramMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param rtTool
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "添加榕图-工器具信息", notes = "添加榕图-工器具信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<RtTool> add(@RequestBody @Validate RtTool rtTool) {
|
||||
rtToolService.add(rtTool);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param rtTool
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "编辑榕图-工器具信息", notes = "编辑榕图-工器具信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<RtTool> edit(@RequestBody RtTool rtTool) {
|
||||
rtToolService.edit(rtTool);
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除榕图-工器具信息", notes = "删除榕图-工器具信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-工器具ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<RtTool> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
String id = MapUtils.getString(map, "id");
|
||||
Result<RtTool> result = new Result<RtTool>();
|
||||
RtTool rtTool = rtToolService.getById(id);
|
||||
if (rtTool == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = rtToolService.removeById(id);
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "通过id查询榕图-工器具信息", notes = "通过id查询榕图-工器具信息", httpMethod = "GET")
|
||||
@ApiImplicitParam(name = "id", value = "榕图-工器具ID", paramType = "query", required = true, dataType = "Integer")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<RtTool> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
Result<RtTool> result = new Result<RtTool>();
|
||||
RtTool rtTool = rtToolService.getById(id);
|
||||
if (rtTool == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(rtTool);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,124 @@
|
||||
package com.zhgd.xmgl.modules.rt.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-设计变更联系单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("rt_design_change_contact_sheet")
|
||||
@ApiModel(value = "RtDesignChangeContactSheet实体类", description = "RtDesignChangeContactSheet")
|
||||
public class RtDesignChangeContactSheet implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private java.lang.Long id;
|
||||
/**
|
||||
* 工程名称
|
||||
*/
|
||||
@Excel(name = "工程名称", width = 15)
|
||||
@ApiModelProperty(value = "工程名称")
|
||||
private java.lang.String projectName;
|
||||
/**
|
||||
* 设计单位
|
||||
*/
|
||||
@Excel(name = "设计单位", width = 15)
|
||||
@ApiModelProperty(value = "设计单位")
|
||||
private java.lang.String designUnit;
|
||||
/**
|
||||
* 变更内容
|
||||
*/
|
||||
@Excel(name = "变更内容", width = 15)
|
||||
@ApiModelProperty(value = "变更内容")
|
||||
private java.lang.String changeContent;
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
@Excel(name = "负责人", width = 15)
|
||||
@ApiModelProperty(value = "负责人")
|
||||
private java.lang.String principal;
|
||||
/**
|
||||
* 提出单位
|
||||
*/
|
||||
@Excel(name = "提出单位", width = 15)
|
||||
@ApiModelProperty(value = "提出单位")
|
||||
private java.lang.String proposingUnit;
|
||||
/**
|
||||
* 提出变更日期
|
||||
*/
|
||||
@Excel(name = "提出变更日期", width = 15)
|
||||
@ApiModelProperty(value = "提出变更日期")
|
||||
private java.lang.String proposedChangeDate;
|
||||
/**
|
||||
* 业主项目部审核意见
|
||||
*/
|
||||
@Excel(name = "业主项目部审核意见", width = 15)
|
||||
@ApiModelProperty(value = "业主项目部审核意见")
|
||||
private java.lang.String reviewOpinion;
|
||||
/**
|
||||
* 项目经理
|
||||
*/
|
||||
@Excel(name = "项目经理", width = 15)
|
||||
@ApiModelProperty(value = "项目经理")
|
||||
private java.lang.String projectManager;
|
||||
/**
|
||||
* 业主部门
|
||||
*/
|
||||
@Excel(name = "业主部门", width = 15)
|
||||
@ApiModelProperty(value = "业主部门")
|
||||
private java.lang.String ownerDepartment;
|
||||
/**
|
||||
* 审核回复日期
|
||||
*/
|
||||
@Excel(name = "审核回复日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "审核回复日期")
|
||||
private java.util.Date reviewReplyDate;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@Excel(name = "附件", width = 15)
|
||||
@ApiModelProperty(value = "附件")
|
||||
private java.lang.String appendix;
|
||||
/**
|
||||
* 创建时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "创建时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**
|
||||
* 更新时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "更新时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**
|
||||
* 项目sn
|
||||
*/
|
||||
@Excel(name = "项目sn", width = 15)
|
||||
@ApiModelProperty(value = "项目sn")
|
||||
private java.lang.String projectSn;
|
||||
}
|
||||
@ -0,0 +1,139 @@
|
||||
package com.zhgd.xmgl.modules.rt.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-物资订单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("rt_material_order")
|
||||
@ApiModel(value = "RtMaterialOrder实体类", description = "RtMaterialOrder")
|
||||
public class RtMaterialOrder implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private java.lang.Long id;
|
||||
/**
|
||||
* 采购订单号
|
||||
*/
|
||||
@Excel(name = "采购订单号", width = 15)
|
||||
@ApiModelProperty(value = "采购订单号")
|
||||
private java.lang.String purchaseOrderNumber;
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
@Excel(name = "项目名称", width = 15)
|
||||
@ApiModelProperty(value = "项目名称")
|
||||
private java.lang.String projectName;
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
@Excel(name = "供应商名称", width = 15)
|
||||
@ApiModelProperty(value = "供应商名称")
|
||||
private java.lang.String supplierName;
|
||||
/**
|
||||
* 采购组
|
||||
*/
|
||||
@Excel(name = "采购组", width = 15)
|
||||
@ApiModelProperty(value = "采购组")
|
||||
private java.lang.String purchasingGroup;
|
||||
/**
|
||||
* 物料号
|
||||
*/
|
||||
@Excel(name = "物料号", width = 15)
|
||||
@ApiModelProperty(value = "物料号")
|
||||
private java.lang.String itemNumber;
|
||||
/**
|
||||
* 物料短文本
|
||||
*/
|
||||
@Excel(name = "物料短文本", width = 15)
|
||||
@ApiModelProperty(value = "物料短文本")
|
||||
private java.lang.String materialShortText;
|
||||
/**
|
||||
* 采购订单数量
|
||||
*/
|
||||
@Excel(name = "采购订单数量", width = 15)
|
||||
@ApiModelProperty(value = "采购订单数量")
|
||||
private java.lang.String purchaseOrderQuantity;
|
||||
/**
|
||||
* 单价 (不含税)
|
||||
*/
|
||||
@Excel(name = "单价 (不含税)", width = 15)
|
||||
@ApiModelProperty(value = "单价 (不含税)")
|
||||
private java.lang.String unitPrice;
|
||||
/**
|
||||
* 基本计量单位
|
||||
*/
|
||||
@Excel(name = "基本计量单位", width = 15)
|
||||
@ApiModelProperty(value = "基本计量单位")
|
||||
private java.lang.String basicUnitOfMeasurement;
|
||||
/**
|
||||
* 合同金额 (元)
|
||||
*/
|
||||
@Excel(name = "合同金额 (元)", width = 15)
|
||||
@ApiModelProperty(value = "合同金额 (元)")
|
||||
private java.math.BigDecimal contractAmount;
|
||||
/**
|
||||
* 联系人
|
||||
*/
|
||||
@Excel(name = "联系人", width = 15)
|
||||
@ApiModelProperty(value = "联系人")
|
||||
private java.lang.String contactPerson;
|
||||
/**
|
||||
* 联系方式
|
||||
*/
|
||||
@Excel(name = "联系方式", width = 15)
|
||||
@ApiModelProperty(value = "联系方式")
|
||||
private java.lang.String contactInformation;
|
||||
/**
|
||||
* 到货时间
|
||||
*/
|
||||
@Excel(name = "到货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "到货时间")
|
||||
private java.util.Date arrivalTime;
|
||||
/**
|
||||
* 创建时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "创建时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**
|
||||
* 更新时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "更新时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**
|
||||
* 项目sn
|
||||
*/
|
||||
@Excel(name = "项目sn", width = 15)
|
||||
@ApiModelProperty(value = "项目sn")
|
||||
private java.lang.String projectSn;
|
||||
@ApiModelProperty(value = "是否到货")
|
||||
private Boolean isArrival;
|
||||
|
||||
}
|
||||
@ -0,0 +1,80 @@
|
||||
package com.zhgd.xmgl.modules.rt.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-新技术新工艺汇编
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("rt_new_technologies_and_new_process")
|
||||
@ApiModel(value = "RtNewTechnologiesAndNewProcess实体类", description = "RtNewTechnologiesAndNewProcess")
|
||||
public class RtNewTechnologiesAndNewProcess implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private java.lang.Long id;
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
@Excel(name = "分类", width = 15)
|
||||
@ApiModelProperty(value = "分类")
|
||||
private java.lang.String classify;
|
||||
/**
|
||||
* 新技术/新工艺
|
||||
*/
|
||||
@Excel(name = "新技术/新工艺", width = 15)
|
||||
@ApiModelProperty(value = "新技术/新工艺")
|
||||
private java.lang.String newTechnologiesAndNewProcessContent;
|
||||
/**
|
||||
* 新技术/新工艺
|
||||
*/
|
||||
@Excel(name = "新技术/新工艺", width = 15)
|
||||
@ApiModelProperty(value = "新技术/新工艺")
|
||||
private java.lang.String newTechnologiesAndNewProcess;
|
||||
/**
|
||||
* 图片展示
|
||||
*/
|
||||
@Excel(name = "图片展示", width = 15)
|
||||
@ApiModelProperty(value = "图片展示")
|
||||
private java.lang.String imageDisplay;
|
||||
/**
|
||||
* 创建时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "创建时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**
|
||||
* 更新时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "更新时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**
|
||||
* 项目sn
|
||||
*/
|
||||
@Excel(name = "项目sn", width = 15)
|
||||
@ApiModelProperty(value = "项目sn")
|
||||
private java.lang.String projectSn;
|
||||
}
|
||||
@ -0,0 +1,114 @@
|
||||
package com.zhgd.xmgl.modules.rt.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-进度款合同
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("rt_progress_payment_contract")
|
||||
@ApiModel(value = "RtProgressPaymentContract实体类", description = "RtProgressPaymentContract")
|
||||
public class RtProgressPaymentContract implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private java.lang.Long id;
|
||||
/**
|
||||
* 工程名称
|
||||
*/
|
||||
@Excel(name = "工程名称", width = 15)
|
||||
@ApiModelProperty(value = "工程名称")
|
||||
private java.lang.String projectName;
|
||||
/**
|
||||
* 合同总价
|
||||
*/
|
||||
@Excel(name = "合同总价", width = 15)
|
||||
@ApiModelProperty(value = "合同总价")
|
||||
private java.lang.String totalContractPrice;
|
||||
/**
|
||||
* 申请进度款
|
||||
*/
|
||||
@Excel(name = "申请进度款", width = 15)
|
||||
@ApiModelProperty(value = "申请进度款")
|
||||
private java.lang.Double applyForProgressPayment;
|
||||
/**
|
||||
* 本期申领预付款总额(元)
|
||||
*/
|
||||
@Excel(name = "本期申领预付款总额(元)", width = 15)
|
||||
@ApiModelProperty(value = "本期申领预付款总额(元)")
|
||||
private java.math.BigDecimal advancePaymentTotalAmount;
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
@Excel(name = "申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "申请时间")
|
||||
private java.util.Date applicationTime;
|
||||
/**
|
||||
* 批复时间
|
||||
*/
|
||||
@Excel(name = "批复时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "批复时间")
|
||||
private java.util.Date approvalTime;
|
||||
/**
|
||||
* 审批状态:1待审核2审核中3已审核
|
||||
*/
|
||||
@Excel(name = "审批状态:1待审核2审核中3已审核", width = 15)
|
||||
@ApiModelProperty(value = "审批状态:1待审核2审核中3已审核")
|
||||
private java.lang.Integer approvalStatus;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Excel(name = "备注", width = 15)
|
||||
@ApiModelProperty(value = "备注")
|
||||
private java.lang.String remark;
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
@Excel(name = "附件", width = 15)
|
||||
@ApiModelProperty(value = "附件")
|
||||
private java.lang.String appendix;
|
||||
/**
|
||||
* 创建时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "创建时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**
|
||||
* 更新时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "更新时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**
|
||||
* 项目sn
|
||||
*/
|
||||
@Excel(name = "项目sn", width = 15)
|
||||
@ApiModelProperty(value = "项目sn")
|
||||
private java.lang.String projectSn;
|
||||
}
|
||||
90
src/main/java/com/zhgd/xmgl/modules/rt/entity/RtTool.java
Normal file
90
src/main/java/com/zhgd/xmgl/modules/rt/entity/RtTool.java
Normal file
@ -0,0 +1,90 @@
|
||||
package com.zhgd.xmgl.modules.rt.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-工器具
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("rt_tool")
|
||||
@ApiModel(value = "RtTool实体类", description = "RtTool")
|
||||
public class RtTool implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "id")
|
||||
private java.lang.Long id;
|
||||
/**
|
||||
* 设备编号
|
||||
*/
|
||||
@Excel(name = "设备编号", width = 15)
|
||||
@ApiModelProperty(value = "设备编号")
|
||||
private java.lang.String devSn;
|
||||
/**
|
||||
* 工器具名称
|
||||
*/
|
||||
@Excel(name = "工器具名称", width = 15)
|
||||
@ApiModelProperty(value = "工器具名称")
|
||||
private java.lang.String toolName;
|
||||
/**
|
||||
* 工器具状态:1在场2离场
|
||||
*/
|
||||
@Excel(name = "工器具状态:1在场2离场", width = 15)
|
||||
@ApiModelProperty(value = "工器具状态:1在场2离场")
|
||||
private java.lang.Integer toolStatus;
|
||||
/**
|
||||
* 进场时间
|
||||
*/
|
||||
@Excel(name = "进场时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "进场时间")
|
||||
private java.util.Date entryTime;
|
||||
/**
|
||||
* 离场时间
|
||||
*/
|
||||
@Excel(name = "离场时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "离场时间")
|
||||
private java.util.Date exitTime;
|
||||
/**
|
||||
* 创建时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "创建时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**
|
||||
* 更新时间 yyyy-MM-dd HH:mm:ss
|
||||
*/
|
||||
@Excel(name = "更新时间 yyyy-MM-dd HH:mm:ss", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间 yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**
|
||||
* 项目sn
|
||||
*/
|
||||
@Excel(name = "项目sn", width = 15)
|
||||
@ApiModelProperty(value = "项目sn")
|
||||
private java.lang.String projectSn;
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.zhgd.xmgl.modules.rt.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtDesignChangeContactSheet;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-设计变更联系单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface RtDesignChangeContactSheetMapper extends BaseMapper<RtDesignChangeContactSheet> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.zhgd.xmgl.modules.rt.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtMaterialOrder;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-物资订单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface RtMaterialOrderMapper extends BaseMapper<RtMaterialOrder> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.zhgd.xmgl.modules.rt.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtNewTechnologiesAndNewProcess;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-新技术新工艺汇编
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface RtNewTechnologiesAndNewProcessMapper extends BaseMapper<RtNewTechnologiesAndNewProcess> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.zhgd.xmgl.modules.rt.mapper;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtProgressPaymentContract;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-进度款合同
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface RtProgressPaymentContractMapper extends BaseMapper<RtProgressPaymentContract> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.zhgd.xmgl.modules.rt.mapper;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtTool;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-工器具
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface RtToolMapper extends BaseMapper<RtTool> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zhgd.xmgl.modules.rt.mapper.RtDesignChangeContactSheetMapper">
|
||||
</mapper>
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zhgd.xmgl.modules.rt.mapper.RtMaterialOrderMapper">
|
||||
</mapper>
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zhgd.xmgl.modules.rt.mapper.RtNewTechnologiesAndNewProcessMapper">
|
||||
</mapper>
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zhgd.xmgl.modules.rt.mapper.RtProgressPaymentContractMapper">
|
||||
</mapper>
|
||||
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zhgd.xmgl.modules.rt.mapper.RtToolMapper">
|
||||
</mapper>
|
||||
@ -0,0 +1,25 @@
|
||||
package com.zhgd.xmgl.modules.rt.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtDesignChangeContactSheet;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-设计变更联系单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IRtDesignChangeContactSheetService extends IService<RtDesignChangeContactSheet> {
|
||||
|
||||
IPage<RtDesignChangeContactSheet> queryPageList(HashMap<String, Object> paramMap);
|
||||
|
||||
List<RtDesignChangeContactSheet> queryList(HashMap<String, Object> paramMap);
|
||||
|
||||
void add(RtDesignChangeContactSheet rtDesignChangeContactSheet);
|
||||
|
||||
void edit(RtDesignChangeContactSheet rtDesignChangeContactSheet);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.zhgd.xmgl.modules.rt.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtMaterialOrder;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-物资订单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IRtMaterialOrderService extends IService<RtMaterialOrder> {
|
||||
|
||||
IPage<RtMaterialOrder> queryPageList(HashMap<String, Object> paramMap);
|
||||
|
||||
List<RtMaterialOrder> queryList(HashMap<String, Object> paramMap);
|
||||
|
||||
void add(RtMaterialOrder rtMaterialOrder);
|
||||
|
||||
void edit(RtMaterialOrder rtMaterialOrder);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.zhgd.xmgl.modules.rt.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtNewTechnologiesAndNewProcess;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-新技术新工艺汇编
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IRtNewTechnologiesAndNewProcessService extends IService<RtNewTechnologiesAndNewProcess> {
|
||||
|
||||
IPage<RtNewTechnologiesAndNewProcess> queryPageList(HashMap<String, Object> paramMap);
|
||||
|
||||
List<RtNewTechnologiesAndNewProcess> queryList(HashMap<String, Object> paramMap);
|
||||
|
||||
void add(RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess);
|
||||
|
||||
void edit(RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.zhgd.xmgl.modules.rt.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtProgressPaymentContract;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-进度款合同
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IRtProgressPaymentContractService extends IService<RtProgressPaymentContract> {
|
||||
|
||||
IPage<RtProgressPaymentContract> queryPageList(HashMap<String, Object> paramMap);
|
||||
|
||||
List<RtProgressPaymentContract> queryList(HashMap<String, Object> paramMap);
|
||||
|
||||
void add(RtProgressPaymentContract rtProgressPaymentContract);
|
||||
|
||||
void edit(RtProgressPaymentContract rtProgressPaymentContract);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.zhgd.xmgl.modules.rt.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtTool;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-工器具
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IRtToolService extends IService<RtTool> {
|
||||
|
||||
IPage<RtTool> queryPageList(HashMap<String, Object> paramMap);
|
||||
|
||||
List<RtTool> queryList(HashMap<String, Object> paramMap);
|
||||
|
||||
void add(RtTool rtTool);
|
||||
|
||||
void edit(RtTool rtTool);
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
package com.zhgd.xmgl.modules.rt.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtDesignChangeContactSheet;
|
||||
import com.zhgd.xmgl.modules.rt.mapper.RtDesignChangeContactSheetMapper;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtDesignChangeContactSheetService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.xmgl.util.RefUtil;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-设计变更联系单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RtDesignChangeContactSheetServiceImpl extends ServiceImpl<RtDesignChangeContactSheetMapper, RtDesignChangeContactSheet> implements IRtDesignChangeContactSheetService {
|
||||
@Autowired
|
||||
private RtDesignChangeContactSheetMapper rtDesignChangeContactSheetMapper;
|
||||
|
||||
@Override
|
||||
public IPage<RtDesignChangeContactSheet> queryPageList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtDesignChangeContactSheet> queryWrapper = getQueryWrapper(paramMap);
|
||||
Page<RtDesignChangeContactSheet> page = PageUtil.getPage(paramMap);
|
||||
IPage<RtDesignChangeContactSheet> pageList = this.page(page, queryWrapper);
|
||||
pageList.setRecords(dealList(pageList.getRecords()));
|
||||
return pageList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RtDesignChangeContactSheet> queryList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtDesignChangeContactSheet> queryWrapper = getQueryWrapper(paramMap);
|
||||
return dealList(this.list(queryWrapper));
|
||||
}
|
||||
|
||||
private QueryWrapper<RtDesignChangeContactSheet> getQueryWrapper(HashMap<String, Object> paramMap) {
|
||||
String alias = "";
|
||||
QueryWrapper<RtDesignChangeContactSheet> queryWrapper = QueryGenerator.initPageQueryWrapper(RtDesignChangeContactSheet.class, paramMap, alias);
|
||||
queryWrapper.orderByDesc(alias + RefUtil.fieldNameUlc(RtDesignChangeContactSheet::getId));
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
private List<RtDesignChangeContactSheet> dealList(List<RtDesignChangeContactSheet> list) {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(RtDesignChangeContactSheet rtDesignChangeContactSheet) {
|
||||
rtDesignChangeContactSheet.setId(null);
|
||||
baseMapper.insert(rtDesignChangeContactSheet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void edit(RtDesignChangeContactSheet rtDesignChangeContactSheet) {
|
||||
baseMapper.updateById(rtDesignChangeContactSheet);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package com.zhgd.xmgl.modules.rt.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtMaterialOrder;
|
||||
import com.zhgd.xmgl.modules.rt.mapper.RtMaterialOrderMapper;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtMaterialOrderService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.xmgl.util.RefUtil;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-物资订单
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RtMaterialOrderServiceImpl extends ServiceImpl<RtMaterialOrderMapper, RtMaterialOrder> implements IRtMaterialOrderService {
|
||||
@Autowired
|
||||
private RtMaterialOrderMapper rtMaterialOrderMapper;
|
||||
|
||||
@Override
|
||||
public IPage<RtMaterialOrder> queryPageList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtMaterialOrder> queryWrapper = getQueryWrapper(paramMap);
|
||||
Page<RtMaterialOrder> page = PageUtil.getPage(paramMap);
|
||||
IPage<RtMaterialOrder> pageList = this.page(page, queryWrapper);
|
||||
pageList.setRecords(dealList(pageList.getRecords()));
|
||||
return pageList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RtMaterialOrder> queryList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtMaterialOrder> queryWrapper = getQueryWrapper(paramMap);
|
||||
return dealList(this.list(queryWrapper));
|
||||
}
|
||||
|
||||
private QueryWrapper<RtMaterialOrder> getQueryWrapper(HashMap<String, Object> paramMap) {
|
||||
String alias = "";
|
||||
QueryWrapper<RtMaterialOrder> queryWrapper = QueryGenerator.initPageQueryWrapper(RtMaterialOrder.class, paramMap, alias);
|
||||
queryWrapper.orderByDesc(alias + RefUtil.fieldNameUlc(RtMaterialOrder::getId));
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
private List<RtMaterialOrder> dealList(List<RtMaterialOrder> list) {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(RtMaterialOrder rtMaterialOrder) {
|
||||
rtMaterialOrder.setId(null);
|
||||
baseMapper.insert(rtMaterialOrder);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void edit(RtMaterialOrder rtMaterialOrder) {
|
||||
if (rtMaterialOrder.getArrivalTime() != null) {
|
||||
rtMaterialOrder.setIsArrival(true);
|
||||
}
|
||||
baseMapper.updateById(rtMaterialOrder);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
package com.zhgd.xmgl.modules.rt.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtNewTechnologiesAndNewProcess;
|
||||
import com.zhgd.xmgl.modules.rt.mapper.RtNewTechnologiesAndNewProcessMapper;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtNewTechnologiesAndNewProcessService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.xmgl.util.RefUtil;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-新技术新工艺汇编
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RtNewTechnologiesAndNewProcessServiceImpl extends ServiceImpl<RtNewTechnologiesAndNewProcessMapper, RtNewTechnologiesAndNewProcess> implements IRtNewTechnologiesAndNewProcessService {
|
||||
@Autowired
|
||||
private RtNewTechnologiesAndNewProcessMapper rtNewTechnologiesAndNewProcessMapper;
|
||||
|
||||
@Override
|
||||
public IPage<RtNewTechnologiesAndNewProcess> queryPageList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtNewTechnologiesAndNewProcess> queryWrapper = getQueryWrapper(paramMap);
|
||||
Page<RtNewTechnologiesAndNewProcess> page = PageUtil.getPage(paramMap);
|
||||
IPage<RtNewTechnologiesAndNewProcess> pageList = this.page(page, queryWrapper);
|
||||
pageList.setRecords(dealList(pageList.getRecords()));
|
||||
return pageList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RtNewTechnologiesAndNewProcess> queryList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtNewTechnologiesAndNewProcess> queryWrapper = getQueryWrapper(paramMap);
|
||||
return dealList(this.list(queryWrapper));
|
||||
}
|
||||
|
||||
private QueryWrapper<RtNewTechnologiesAndNewProcess> getQueryWrapper(HashMap<String, Object> paramMap) {
|
||||
String alias = "";
|
||||
QueryWrapper<RtNewTechnologiesAndNewProcess> queryWrapper = QueryGenerator.initPageQueryWrapper(RtNewTechnologiesAndNewProcess.class, paramMap, alias);
|
||||
queryWrapper.orderByDesc(alias + RefUtil.fieldNameUlc(RtNewTechnologiesAndNewProcess::getId));
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
private List<RtNewTechnologiesAndNewProcess> dealList(List<RtNewTechnologiesAndNewProcess> list) {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess) {
|
||||
rtNewTechnologiesAndNewProcess.setId(null);
|
||||
baseMapper.insert(rtNewTechnologiesAndNewProcess);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void edit(RtNewTechnologiesAndNewProcess rtNewTechnologiesAndNewProcess) {
|
||||
baseMapper.updateById(rtNewTechnologiesAndNewProcess);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,69 @@
|
||||
package com.zhgd.xmgl.modules.rt.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtProgressPaymentContract;
|
||||
import com.zhgd.xmgl.modules.rt.mapper.RtProgressPaymentContractMapper;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtProgressPaymentContractService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import com.zhgd.xmgl.util.RefUtil;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-进度款合同
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RtProgressPaymentContractServiceImpl extends ServiceImpl<RtProgressPaymentContractMapper, RtProgressPaymentContract> implements IRtProgressPaymentContractService {
|
||||
@Autowired
|
||||
private RtProgressPaymentContractMapper rtProgressPaymentContractMapper;
|
||||
|
||||
@Override
|
||||
public IPage<RtProgressPaymentContract> queryPageList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtProgressPaymentContract> queryWrapper = getQueryWrapper(paramMap);
|
||||
Page<RtProgressPaymentContract> page = PageUtil.getPage(paramMap);
|
||||
IPage<RtProgressPaymentContract> pageList = this.page(page, queryWrapper);
|
||||
pageList.setRecords(dealList(pageList.getRecords()));
|
||||
return pageList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RtProgressPaymentContract> queryList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtProgressPaymentContract> queryWrapper = getQueryWrapper(paramMap);
|
||||
return dealList(this.list(queryWrapper));
|
||||
}
|
||||
|
||||
private QueryWrapper<RtProgressPaymentContract> getQueryWrapper(HashMap<String, Object> paramMap) {
|
||||
String alias = "";
|
||||
QueryWrapper<RtProgressPaymentContract> queryWrapper = QueryGenerator.initPageQueryWrapper(RtProgressPaymentContract.class, paramMap, alias);
|
||||
queryWrapper.orderByDesc(alias + RefUtil.fieldNameUlc(RtProgressPaymentContract::getId));
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
private List<RtProgressPaymentContract> dealList(List<RtProgressPaymentContract> list) {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(RtProgressPaymentContract rtProgressPaymentContract) {
|
||||
rtProgressPaymentContract.setId(null);
|
||||
baseMapper.insert(rtProgressPaymentContract);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void edit(RtProgressPaymentContract rtProgressPaymentContract) {
|
||||
baseMapper.updateById(rtProgressPaymentContract);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.zhgd.xmgl.modules.rt.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.rt.entity.RtTool;
|
||||
import com.zhgd.xmgl.modules.rt.mapper.RtToolMapper;
|
||||
import com.zhgd.xmgl.modules.rt.service.IRtToolService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
import com.zhgd.xmgl.util.RefUtil;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* @Description: 榕图-工器具
|
||||
* @author: pds
|
||||
* @date: 2023-12-21
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class RtToolServiceImpl extends ServiceImpl<RtToolMapper, RtTool> implements IRtToolService {
|
||||
@Autowired
|
||||
private RtToolMapper rtToolMapper;
|
||||
|
||||
@Override
|
||||
public IPage<RtTool> queryPageList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtTool> queryWrapper = getQueryWrapper(paramMap);
|
||||
Page<RtTool> page = PageUtil.getPage(paramMap);
|
||||
IPage<RtTool> pageList = this.page(page, queryWrapper);
|
||||
pageList.setRecords(dealList(pageList.getRecords()));
|
||||
return pageList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<RtTool> queryList(HashMap<String, Object> paramMap) {
|
||||
QueryWrapper<RtTool> queryWrapper = getQueryWrapper(paramMap);
|
||||
return dealList(this.list(queryWrapper));
|
||||
}
|
||||
|
||||
private QueryWrapper<RtTool> getQueryWrapper(HashMap<String, Object> paramMap) {
|
||||
String alias = "";
|
||||
QueryWrapper<RtTool> queryWrapper = QueryGenerator.initPageQueryWrapper(RtTool.class, paramMap, alias);
|
||||
queryWrapper.orderByDesc(alias + RefUtil.fieldNameUlc(RtTool::getId));
|
||||
return queryWrapper;
|
||||
}
|
||||
|
||||
private List<RtTool> dealList(List<RtTool> list) {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(RtTool rtTool) {
|
||||
setExitTimeIf(rtTool);
|
||||
rtTool.setId(null);
|
||||
baseMapper.insert(rtTool);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void edit(RtTool rtTool) {
|
||||
setExitTimeIf(rtTool);
|
||||
baseMapper.updateById(rtTool);
|
||||
}
|
||||
|
||||
private void setExitTimeIf(RtTool rtTool) {
|
||||
if (Objects.equals(rtTool.getToolStatus(), 2)) {
|
||||
rtTool.setExitTime(new Date());
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user