Преглед на файлове

系数管理+外协价格库

yuhan преди 1 година
родител
ревизия
da6fcdcc7a

+ 177 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelWxPrice/controller/CostModelWxPriceController.java

@@ -0,0 +1,177 @@
+package org.jeecg.modules.costModelWxPrice.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.costModelWxPrice.entity.CostModelWxPrice;
+import org.jeecg.modules.costModelWxPrice.service.ICostModelWxPriceService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+import org.jeecg.common.system.base.controller.JeecgController;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.jeecg.common.aspect.annotation.AutoLog;
+
+ /**
+ * @Description: 外协价格库
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+@Api(tags="外协价格库")
+@RestController
+@RequestMapping("/costModelWxPrice/costModelWxPrice")
+@Slf4j
+public class CostModelWxPriceController extends JeecgController<CostModelWxPrice, ICostModelWxPriceService> {
+	@Autowired
+	private ICostModelWxPriceService costModelWxPriceService;
+	
+	/**
+	 * 分页列表查询
+	 *
+	 * @param costModelWxPrice
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	//@AutoLog(value = "外协价格库-分页列表查询")
+	@ApiOperation(value="外协价格库-分页列表查询", notes="外协价格库-分页列表查询")
+	@GetMapping(value = "/list")
+	public Result<IPage<CostModelWxPrice>> queryPageList(CostModelWxPrice costModelWxPrice,
+								   @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+								   @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+								   HttpServletRequest req) {
+		QueryWrapper<CostModelWxPrice> queryWrapper = QueryGenerator.initQueryWrapper(costModelWxPrice, req.getParameterMap());
+		Page<CostModelWxPrice> page = new Page<CostModelWxPrice>(pageNo, pageSize);
+		IPage<CostModelWxPrice> pageList = costModelWxPriceService.page(page, queryWrapper);
+		return Result.OK(pageList);
+	}
+	
+	/**
+	 *   添加
+	 *
+	 * @param costModelWxPrice
+	 * @return
+	 */
+	@AutoLog(value = "外协价格库-添加")
+	@ApiOperation(value="外协价格库-添加", notes="外协价格库-添加")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_wx_price:add")
+	@PostMapping(value = "/add")
+	public Result<String> add(@RequestBody CostModelWxPrice costModelWxPrice) {
+		costModelWxPriceService.save(costModelWxPrice);
+		return Result.OK("添加成功!");
+	}
+	
+	/**
+	 *  编辑
+	 *
+	 * @param costModelWxPrice
+	 * @return
+	 */
+	@AutoLog(value = "外协价格库-编辑")
+	@ApiOperation(value="外协价格库-编辑", notes="外协价格库-编辑")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_wx_price:edit")
+	@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
+	public Result<String> edit(@RequestBody CostModelWxPrice costModelWxPrice) {
+		costModelWxPriceService.updateById(costModelWxPrice);
+		return Result.OK("编辑成功!");
+	}
+	
+	/**
+	 *   通过id删除
+	 *
+	 * @param id
+	 * @return
+	 */
+	@AutoLog(value = "外协价格库-通过id删除")
+	@ApiOperation(value="外协价格库-通过id删除", notes="外协价格库-通过id删除")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_wx_price:delete")
+	@DeleteMapping(value = "/delete")
+	public Result<String> delete(@RequestParam(name="id",required=true) String id) {
+		costModelWxPriceService.removeById(id);
+		return Result.OK("删除成功!");
+	}
+	
+	/**
+	 *  批量删除
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@AutoLog(value = "外协价格库-批量删除")
+	@ApiOperation(value="外协价格库-批量删除", notes="外协价格库-批量删除")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_wx_price:deleteBatch")
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		this.costModelWxPriceService.removeByIds(Arrays.asList(ids.split(",")));
+		return Result.OK("批量删除成功!");
+	}
+	
+	/**
+	 * 通过id查询
+	 *
+	 * @param id
+	 * @return
+	 */
+	//@AutoLog(value = "外协价格库-通过id查询")
+	@ApiOperation(value="外协价格库-通过id查询", notes="外协价格库-通过id查询")
+	@GetMapping(value = "/queryById")
+	public Result<CostModelWxPrice> queryById(@RequestParam(name="id",required=true) String id) {
+		CostModelWxPrice costModelWxPrice = costModelWxPriceService.getById(id);
+		if(costModelWxPrice==null) {
+			return Result.error("未找到对应数据");
+		}
+		return Result.OK(costModelWxPrice);
+	}
+
+    /**
+    * 导出excel
+    *
+    * @param request
+    * @param costModelWxPrice
+    */
+    //@RequiresPermissions("org.jeecg.modules:kzks_cost_model_wx_price:exportXls")
+    @RequestMapping(value = "/exportXls")
+    public ModelAndView exportXls(HttpServletRequest request, CostModelWxPrice costModelWxPrice) {
+        return super.exportXls(request, costModelWxPrice, CostModelWxPrice.class, "外协价格库");
+    }
+
+    /**
+      * 通过excel导入数据
+    *
+    * @param request
+    * @param response
+    * @return
+    */
+    //@RequiresPermissions("kzks_cost_model_wx_price:importExcel")
+    @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+    public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+        return super.importExcel(request, response, CostModelWxPrice.class);
+    }
+
+}

+ 78 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelWxPrice/entity/CostModelWxPrice.java

@@ -0,0 +1,78 @@
+package org.jeecg.modules.costModelWxPrice.entity;
+
+import java.io.Serializable;
+import java.io.UnsupportedEncodingException;
+import java.util.Date;
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.jeecg.common.aspect.annotation.Dict;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * @Description: 外协价格库
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+@Data
+@TableName("kzks_cost_model_wx_price")
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
+@ApiModel(value="kzks_cost_model_wx_price对象", description="外协价格库")
+public class CostModelWxPrice implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+	/**id*/
+	@TableId(type = IdType.ASSIGN_ID)
+    @ApiModelProperty(value = "id")
+    private java.lang.String id;
+	/**创建人*/
+    @ApiModelProperty(value = "创建人")
+    private java.lang.String createBy;
+	/**创建日期*/
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+    @ApiModelProperty(value = "创建日期")
+    private java.util.Date createTime;
+	/**更新人*/
+    @ApiModelProperty(value = "更新人")
+    private java.lang.String updateBy;
+	/**更新日期*/
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
+    @ApiModelProperty(value = "更新日期")
+    private java.util.Date updateTime;
+	/**所属部门*/
+    @ApiModelProperty(value = "所属部门")
+    private java.lang.String sysOrgCode;
+	/**外协项目*/
+	@Excel(name = "外协项目", width = 15)
+    @ApiModelProperty(value = "外协项目")
+    private java.lang.String wxProject;
+	/**外协单位*/
+	@Excel(name = "外协单位", width = 15)
+    @ApiModelProperty(value = "外协单位")
+    private java.lang.String wxCompany;
+	/**单价*/
+	@Excel(name = "单价", width = 15)
+    @ApiModelProperty(value = "单价")
+    private java.lang.String danjia;
+	/**计量单位*/
+	@Excel(name = "计量单位", width = 15)
+    @ApiModelProperty(value = "计量单位")
+    private java.lang.String unit;
+	/**备注*/
+	@Excel(name = "备注", width = 15)
+    @ApiModelProperty(value = "备注")
+    private java.lang.String remark;
+}

+ 17 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelWxPrice/mapper/CostModelWxPriceMapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.costModelWxPrice.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.costModelWxPrice.entity.CostModelWxPrice;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 外协价格库
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+public interface CostModelWxPriceMapper extends BaseMapper<CostModelWxPrice> {
+
+}

+ 5 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelWxPrice/mapper/xml/CostModelWxPriceMapper.xml

@@ -0,0 +1,5 @@
+<?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="org.jeecg.modules.costModelWxPrice.mapper.CostModelWxPriceMapper">
+
+</mapper>

+ 14 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelWxPrice/service/ICostModelWxPriceService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.costModelWxPrice.service;
+
+import org.jeecg.modules.costModelWxPrice.entity.CostModelWxPrice;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 外协价格库
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+public interface ICostModelWxPriceService extends IService<CostModelWxPrice> {
+
+}

+ 19 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelWxPrice/service/impl/CostModelWxPriceServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.costModelWxPrice.service.impl;
+
+import org.jeecg.modules.costModelWxPrice.entity.CostModelWxPrice;
+import org.jeecg.modules.costModelWxPrice.mapper.CostModelWxPriceMapper;
+import org.jeecg.modules.costModelWxPrice.service.ICostModelWxPriceService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 外协价格库
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+@Service
+public class CostModelWxPriceServiceImpl extends ServiceImpl<CostModelWxPriceMapper, CostModelWxPrice> implements ICostModelWxPriceService {
+
+}

+ 177 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelXishu/controller/CostModelXishuController.java

@@ -0,0 +1,177 @@
+package org.jeecg.modules.costModelXishu.controller;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.stream.Collectors;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
+import java.net.URLDecoder;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import org.jeecg.common.api.vo.Result;
+import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.common.util.oConvertUtils;
+import org.jeecg.modules.costModelXishu.entity.CostModelXishu;
+import org.jeecg.modules.costModelXishu.service.ICostModelXishuService;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import lombok.extern.slf4j.Slf4j;
+
+import org.jeecgframework.poi.excel.ExcelImportUtil;
+import org.jeecgframework.poi.excel.def.NormalExcelConstants;
+import org.jeecgframework.poi.excel.entity.ExportParams;
+import org.jeecgframework.poi.excel.entity.ImportParams;
+import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
+import org.jeecg.common.system.base.controller.JeecgController;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
+import org.springframework.web.multipart.MultipartHttpServletRequest;
+import org.springframework.web.servlet.ModelAndView;
+import com.alibaba.fastjson.JSON;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.jeecg.common.aspect.annotation.AutoLog;
+
+ /**
+ * @Description: 系数管理
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+@Api(tags="系数管理")
+@RestController
+@RequestMapping("/costModelXishu/costModelXishu")
+@Slf4j
+public class CostModelXishuController extends JeecgController<CostModelXishu, ICostModelXishuService> {
+	@Autowired
+	private ICostModelXishuService costModelXishuService;
+	
+	/**
+	 * 分页列表查询
+	 *
+	 * @param costModelXishu
+	 * @param pageNo
+	 * @param pageSize
+	 * @param req
+	 * @return
+	 */
+	//@AutoLog(value = "系数管理-分页列表查询")
+	@ApiOperation(value="系数管理-分页列表查询", notes="系数管理-分页列表查询")
+	@GetMapping(value = "/list")
+	public Result<IPage<CostModelXishu>> queryPageList(CostModelXishu costModelXishu,
+								   @RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
+								   @RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
+								   HttpServletRequest req) {
+		QueryWrapper<CostModelXishu> queryWrapper = QueryGenerator.initQueryWrapper(costModelXishu, req.getParameterMap());
+		Page<CostModelXishu> page = new Page<CostModelXishu>(pageNo, pageSize);
+		IPage<CostModelXishu> pageList = costModelXishuService.page(page, queryWrapper);
+		return Result.OK(pageList);
+	}
+	
+	/**
+	 *   添加
+	 *
+	 * @param costModelXishu
+	 * @return
+	 */
+	@AutoLog(value = "系数管理-添加")
+	@ApiOperation(value="系数管理-添加", notes="系数管理-添加")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_xishu:add")
+	@PostMapping(value = "/add")
+	public Result<String> add(@RequestBody CostModelXishu costModelXishu) {
+		costModelXishuService.save(costModelXishu);
+		return Result.OK("添加成功!");
+	}
+	
+	/**
+	 *  编辑
+	 *
+	 * @param costModelXishu
+	 * @return
+	 */
+	@AutoLog(value = "系数管理-编辑")
+	@ApiOperation(value="系数管理-编辑", notes="系数管理-编辑")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_xishu:edit")
+	@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
+	public Result<String> edit(@RequestBody CostModelXishu costModelXishu) {
+		costModelXishuService.updateById(costModelXishu);
+		return Result.OK("编辑成功!");
+	}
+	
+	/**
+	 *   通过id删除
+	 *
+	 * @param id
+	 * @return
+	 */
+	@AutoLog(value = "系数管理-通过id删除")
+	@ApiOperation(value="系数管理-通过id删除", notes="系数管理-通过id删除")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_xishu:delete")
+	@DeleteMapping(value = "/delete")
+	public Result<String> delete(@RequestParam(name="id",required=true) String id) {
+		costModelXishuService.removeById(id);
+		return Result.OK("删除成功!");
+	}
+	
+	/**
+	 *  批量删除
+	 *
+	 * @param ids
+	 * @return
+	 */
+	@AutoLog(value = "系数管理-批量删除")
+	@ApiOperation(value="系数管理-批量删除", notes="系数管理-批量删除")
+	//@RequiresPermissions("org.jeecg.modules:kzks_cost_model_xishu:deleteBatch")
+	@DeleteMapping(value = "/deleteBatch")
+	public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
+		this.costModelXishuService.removeByIds(Arrays.asList(ids.split(",")));
+		return Result.OK("批量删除成功!");
+	}
+	
+	/**
+	 * 通过id查询
+	 *
+	 * @param id
+	 * @return
+	 */
+	//@AutoLog(value = "系数管理-通过id查询")
+	@ApiOperation(value="系数管理-通过id查询", notes="系数管理-通过id查询")
+	@GetMapping(value = "/queryById")
+	public Result<CostModelXishu> queryById(@RequestParam(name="id",required=true) String id) {
+		CostModelXishu costModelXishu = costModelXishuService.getById(id);
+		if(costModelXishu==null) {
+			return Result.error("未找到对应数据");
+		}
+		return Result.OK(costModelXishu);
+	}
+
+    /**
+    * 导出excel
+    *
+    * @param request
+    * @param costModelXishu
+    */
+    //@RequiresPermissions("org.jeecg.modules:kzks_cost_model_xishu:exportXls")
+    @RequestMapping(value = "/exportXls")
+    public ModelAndView exportXls(HttpServletRequest request, CostModelXishu costModelXishu) {
+        return super.exportXls(request, costModelXishu, CostModelXishu.class, "系数管理");
+    }
+
+    /**
+      * 通过excel导入数据
+    *
+    * @param request
+    * @param response
+    * @return
+    */
+    //@RequiresPermissions("kzks_cost_model_xishu:importExcel")
+    @RequestMapping(value = "/importExcel", method = RequestMethod.POST)
+    public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
+        return super.importExcel(request, response, CostModelXishu.class);
+    }
+
+}

+ 70 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelXishu/entity/CostModelXishu.java

@@ -0,0 +1,70 @@
+package org.jeecg.modules.costModelXishu.entity;
+
+import java.io.Serializable;
+import java.io.UnsupportedEncodingException;
+import java.util.Date;
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.springframework.format.annotation.DateTimeFormat;
+import org.jeecgframework.poi.excel.annotation.Excel;
+import org.jeecg.common.aspect.annotation.Dict;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * @Description: 系数管理
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+@Data
+@TableName("kzks_cost_model_xishu")
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
+@ApiModel(value="kzks_cost_model_xishu对象", description="系数管理")
+public class CostModelXishu implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+	/**主键*/
+	@TableId(type = IdType.ASSIGN_ID)
+    @ApiModelProperty(value = "主键")
+    private java.lang.String id;
+	/**创建人*/
+    @ApiModelProperty(value = "创建人")
+    private java.lang.String createBy;
+	/**创建日期*/
+	@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 createTime;
+	/**更新人*/
+    @ApiModelProperty(value = "更新人")
+    private java.lang.String updateBy;
+	/**更新日期*/
+	@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 updateTime;
+	/**所属部门*/
+    @ApiModelProperty(value = "所属部门")
+    private java.lang.String sysOrgCode;
+	/**成本类型*/
+	@Excel(name = "成本类型", width = 15)
+    @ApiModelProperty(value = "成本类型")
+    private java.lang.String costName;
+	/**成本类型value*/
+	@Excel(name = "成本类型value", width = 15)
+    @ApiModelProperty(value = "成本类型value")
+    private java.lang.String costValue;
+	/**系数*/
+	@Excel(name = "系数", width = 15)
+    @ApiModelProperty(value = "系数")
+    private java.lang.String xishu;
+}

+ 17 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelXishu/mapper/CostModelXishuMapper.java

@@ -0,0 +1,17 @@
+package org.jeecg.modules.costModelXishu.mapper;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+import org.jeecg.modules.costModelXishu.entity.CostModelXishu;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * @Description: 系数管理
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+public interface CostModelXishuMapper extends BaseMapper<CostModelXishu> {
+
+}

+ 5 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelXishu/mapper/xml/CostModelXishuMapper.xml

@@ -0,0 +1,5 @@
+<?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="org.jeecg.modules.costModelXishu.mapper.CostModelXishuMapper">
+
+</mapper>

+ 14 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelXishu/service/ICostModelXishuService.java

@@ -0,0 +1,14 @@
+package org.jeecg.modules.costModelXishu.service;
+
+import org.jeecg.modules.costModelXishu.entity.CostModelXishu;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * @Description: 系数管理
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+public interface ICostModelXishuService extends IService<CostModelXishu> {
+
+}

+ 19 - 0
module_kzks/src/main/java/org/jeecg/modules/costModelXishu/service/impl/CostModelXishuServiceImpl.java

@@ -0,0 +1,19 @@
+package org.jeecg.modules.costModelXishu.service.impl;
+
+import org.jeecg.modules.costModelXishu.entity.CostModelXishu;
+import org.jeecg.modules.costModelXishu.mapper.CostModelXishuMapper;
+import org.jeecg.modules.costModelXishu.service.ICostModelXishuService;
+import org.springframework.stereotype.Service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+
+/**
+ * @Description: 系数管理
+ * @Author: jeecg-boot
+ * @Date:   2023-09-11
+ * @Version: V1.0
+ */
+@Service
+public class CostModelXishuServiceImpl extends ServiceImpl<CostModelXishuMapper, CostModelXishu> implements ICostModelXishuService {
+
+}