[功能]隆庆气体

This commit is contained in:
李江昊 2025-03-11 11:05:50 +08:00
parent 63cd9f253c
commit 09b811862f
63 changed files with 6598 additions and 38 deletions

View File

@ -1,36 +0,0 @@
# ktg-mes
#### Description
一款开源、免费的MES生产执行管理系统
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -6,7 +6,7 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/lqqt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://localhost:3306/ktg-lqqt?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root
# 从库数据源

View File

@ -9,7 +9,7 @@ ktg-mes:
# 实例演示开关
demoEnabled: true
# 文件路径 示例( Windows配置D:/ktg/uploadPathLinux配置 /home/ktg/uploadPath
profile: D:/source_code/j2eeworkspace/ktg-mes/upload
profile: C:/source_code/j2eeworkspace/ktg-mes/upload
#profile: /home/www/uploadPath
# 获取ip地址开关
addressEnabled: false

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtBaoxiao;
import com.ktg.mes.md.service.IHtBaoxiaoService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 报销Controller
*
* @author yinjinlu
* @date 2025-02-20
*/
@RestController
@RequestMapping("/md/baoxiao")
public class HtBaoxiaoController extends BaseController
{
@Autowired
private IHtBaoxiaoService htBaoxiaoService;
/**
* 查询报销列表
*/
@PreAuthorize("@ss.hasPermi('md:baoxiao:list')")
@GetMapping("/list")
public TableDataInfo list(HtBaoxiao htBaoxiao)
{
startPage();
List<HtBaoxiao> list = htBaoxiaoService.selectHtBaoxiaoList(htBaoxiao);
return getDataTable(list);
}
/**
* 导出报销列表
*/
@PreAuthorize("@ss.hasPermi('md:baoxiao:export')")
@Log(title = "报销", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtBaoxiao htBaoxiao)
{
List<HtBaoxiao> list = htBaoxiaoService.selectHtBaoxiaoList(htBaoxiao);
ExcelUtil<HtBaoxiao> util = new ExcelUtil<HtBaoxiao>(HtBaoxiao.class);
util.exportExcel(response, list, "报销数据");
}
/**
* 获取报销详细信息
*/
@PreAuthorize("@ss.hasPermi('md:baoxiao:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htBaoxiaoService.selectHtBaoxiaoById(id));
}
/**
* 新增报销
*/
@PreAuthorize("@ss.hasPermi('md:baoxiao:add')")
@Log(title = "报销", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtBaoxiao htBaoxiao)
{
return toAjax(htBaoxiaoService.insertHtBaoxiao(htBaoxiao));
}
/**
* 修改报销
*/
@PreAuthorize("@ss.hasPermi('md:baoxiao:edit')")
@Log(title = "报销", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtBaoxiao htBaoxiao)
{
return toAjax(htBaoxiaoService.updateHtBaoxiao(htBaoxiao));
}
/**
* 删除报销
*/
@PreAuthorize("@ss.hasPermi('md:baoxiao:remove')")
@Log(title = "报销", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htBaoxiaoService.deleteHtBaoxiaoByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtGgl;
import com.ktg.mes.md.service.IHtGglService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 公告栏Controller
*
* @author yinjinlu
* @date 2025-02-20
*/
@RestController
@RequestMapping("/md/ggl")
public class HtGglController extends BaseController
{
@Autowired
private IHtGglService htGglService;
/**
* 查询公告栏列表
*/
@PreAuthorize("@ss.hasPermi('md:ggl:list')")
@GetMapping("/list")
public TableDataInfo list(HtGgl htGgl)
{
startPage();
List<HtGgl> list = htGglService.selectHtGglList(htGgl);
return getDataTable(list);
}
/**
* 导出公告栏列表
*/
@PreAuthorize("@ss.hasPermi('md:ggl:export')")
@Log(title = "公告栏", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtGgl htGgl)
{
List<HtGgl> list = htGglService.selectHtGglList(htGgl);
ExcelUtil<HtGgl> util = new ExcelUtil<HtGgl>(HtGgl.class);
util.exportExcel(response, list, "公告栏数据");
}
/**
* 获取公告栏详细信息
*/
@PreAuthorize("@ss.hasPermi('md:ggl:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htGglService.selectHtGglById(id));
}
/**
* 新增公告栏
*/
@PreAuthorize("@ss.hasPermi('md:ggl:add')")
@Log(title = "公告栏", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtGgl htGgl)
{
return toAjax(htGglService.insertHtGgl(htGgl));
}
/**
* 修改公告栏
*/
@PreAuthorize("@ss.hasPermi('md:ggl:edit')")
@Log(title = "公告栏", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtGgl htGgl)
{
return toAjax(htGglService.updateHtGgl(htGgl));
}
/**
* 删除公告栏
*/
@PreAuthorize("@ss.hasPermi('md:ggl:remove')")
@Log(title = "公告栏", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htGglService.deleteHtGglByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtHetong;
import com.ktg.mes.md.service.IHtHetongService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 合同管理Controller
*
* @author yinjinlu
* @date 2025-02-20
*/
@RestController
@RequestMapping("/md/hetong")
public class HtHetongController extends BaseController
{
@Autowired
private IHtHetongService htHetongService;
/**
* 查询合同管理列表
*/
@PreAuthorize("@ss.hasPermi('md:hetong:list')")
@GetMapping("/list")
public TableDataInfo list(HtHetong htHetong)
{
startPage();
List<HtHetong> list = htHetongService.selectHtHetongList(htHetong);
return getDataTable(list);
}
/**
* 导出合同管理列表
*/
@PreAuthorize("@ss.hasPermi('md:hetong:export')")
@Log(title = "合同管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtHetong htHetong)
{
List<HtHetong> list = htHetongService.selectHtHetongList(htHetong);
ExcelUtil<HtHetong> util = new ExcelUtil<HtHetong>(HtHetong.class);
util.exportExcel(response, list, "合同管理数据");
}
/**
* 获取合同管理详细信息
*/
@PreAuthorize("@ss.hasPermi('md:hetong:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htHetongService.selectHtHetongById(id));
}
/**
* 新增合同管理
*/
@PreAuthorize("@ss.hasPermi('md:hetong:add')")
@Log(title = "合同管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtHetong htHetong)
{
return toAjax(htHetongService.insertHtHetong(htHetong));
}
/**
* 修改合同管理
*/
@PreAuthorize("@ss.hasPermi('md:hetong:edit')")
@Log(title = "合同管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtHetong htHetong)
{
return toAjax(htHetongService.updateHtHetong(htHetong));
}
/**
* 删除合同管理
*/
@PreAuthorize("@ss.hasPermi('md:hetong:remove')")
@Log(title = "合同管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htHetongService.deleteHtHetongByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtJczcKehutongji;
import com.ktg.mes.md.service.IHtJczcKehutongjiService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 客户统计报Controller
*
* @author yinjinlu
* @date 2025-02-21
*/
@RestController
@RequestMapping("/md/kehutongji")
public class HtJczcKehutongjiController extends BaseController
{
@Autowired
private IHtJczcKehutongjiService htJczcKehutongjiService;
/**
* 查询客户统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:kehutongji:list')")
@GetMapping("/list")
public TableDataInfo list(HtJczcKehutongji htJczcKehutongji)
{
startPage();
List<HtJczcKehutongji> list = htJczcKehutongjiService.selectHtJczcKehutongjiList(htJczcKehutongji);
return getDataTable(list);
}
/**
* 导出客户统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:kehutongji:export')")
@Log(title = "客户统计报", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtJczcKehutongji htJczcKehutongji)
{
List<HtJczcKehutongji> list = htJczcKehutongjiService.selectHtJczcKehutongjiList(htJczcKehutongji);
ExcelUtil<HtJczcKehutongji> util = new ExcelUtil<HtJczcKehutongji>(HtJczcKehutongji.class);
util.exportExcel(response, list, "客户统计报数据");
}
/**
* 获取客户统计报详细信息
*/
@PreAuthorize("@ss.hasPermi('md:kehutongji:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htJczcKehutongjiService.selectHtJczcKehutongjiById(id));
}
/**
* 新增客户统计报
*/
@PreAuthorize("@ss.hasPermi('md:kehutongji:add')")
@Log(title = "客户统计报", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtJczcKehutongji htJczcKehutongji)
{
return toAjax(htJczcKehutongjiService.insertHtJczcKehutongji(htJczcKehutongji));
}
/**
* 修改客户统计报
*/
@PreAuthorize("@ss.hasPermi('md:kehutongji:edit')")
@Log(title = "客户统计报", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtJczcKehutongji htJczcKehutongji)
{
return toAjax(htJczcKehutongjiService.updateHtJczcKehutongji(htJczcKehutongji));
}
/**
* 删除客户统计报
*/
@PreAuthorize("@ss.hasPermi('md:kehutongji:remove')")
@Log(title = "客户统计报", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htJczcKehutongjiService.deleteHtJczcKehutongjiByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtJczcKucuntongji;
import com.ktg.mes.md.service.IHtJczcKucuntongjiService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 库存统计报Controller
*
* @author yinjinlu
* @date 2025-02-21
*/
@RestController
@RequestMapping("/md/kucuntongji")
public class HtJczcKucuntongjiController extends BaseController
{
@Autowired
private IHtJczcKucuntongjiService htJczcKucuntongjiService;
/**
* 查询库存统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:kucuntongji:list')")
@GetMapping("/list")
public TableDataInfo list(HtJczcKucuntongji htJczcKucuntongji)
{
startPage();
List<HtJczcKucuntongji> list = htJczcKucuntongjiService.selectHtJczcKucuntongjiList(htJczcKucuntongji);
return getDataTable(list);
}
/**
* 导出库存统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:kucuntongji:export')")
@Log(title = "库存统计报", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtJczcKucuntongji htJczcKucuntongji)
{
List<HtJczcKucuntongji> list = htJczcKucuntongjiService.selectHtJczcKucuntongjiList(htJczcKucuntongji);
ExcelUtil<HtJczcKucuntongji> util = new ExcelUtil<HtJczcKucuntongji>(HtJczcKucuntongji.class);
util.exportExcel(response, list, "库存统计报数据");
}
/**
* 获取库存统计报详细信息
*/
@PreAuthorize("@ss.hasPermi('md:kucuntongji:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htJczcKucuntongjiService.selectHtJczcKucuntongjiById(id));
}
/**
* 新增库存统计报
*/
@PreAuthorize("@ss.hasPermi('md:kucuntongji:add')")
@Log(title = "库存统计报", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtJczcKucuntongji htJczcKucuntongji)
{
return toAjax(htJczcKucuntongjiService.insertHtJczcKucuntongji(htJczcKucuntongji));
}
/**
* 修改库存统计报
*/
@PreAuthorize("@ss.hasPermi('md:kucuntongji:edit')")
@Log(title = "库存统计报", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtJczcKucuntongji htJczcKucuntongji)
{
return toAjax(htJczcKucuntongjiService.updateHtJczcKucuntongji(htJczcKucuntongji));
}
/**
* 删除库存统计报
*/
@PreAuthorize("@ss.hasPermi('md:kucuntongji:remove')")
@Log(title = "库存统计报", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htJczcKucuntongjiService.deleteHtJczcKucuntongjiByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtJczcQipingtongji;
import com.ktg.mes.md.service.IHtJczcQipingtongjiService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 气瓶统计报Controller
*
* @author yinjinlu
* @date 2025-02-21
*/
@RestController
@RequestMapping("/md/qipingtongji")
public class HtJczcQipingtongjiController extends BaseController
{
@Autowired
private IHtJczcQipingtongjiService htJczcQipingtongjiService;
/**
* 查询气瓶统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:qipingtongji:list')")
@GetMapping("/list")
public TableDataInfo list(HtJczcQipingtongji htJczcQipingtongji)
{
startPage();
List<HtJczcQipingtongji> list = htJczcQipingtongjiService.selectHtJczcQipingtongjiList(htJczcQipingtongji);
return getDataTable(list);
}
/**
* 导出气瓶统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:qipingtongji:export')")
@Log(title = "气瓶统计报", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtJczcQipingtongji htJczcQipingtongji)
{
List<HtJczcQipingtongji> list = htJczcQipingtongjiService.selectHtJczcQipingtongjiList(htJczcQipingtongji);
ExcelUtil<HtJczcQipingtongji> util = new ExcelUtil<HtJczcQipingtongji>(HtJczcQipingtongji.class);
util.exportExcel(response, list, "气瓶统计报数据");
}
/**
* 获取气瓶统计报详细信息
*/
@PreAuthorize("@ss.hasPermi('md:qipingtongji:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htJczcQipingtongjiService.selectHtJczcQipingtongjiById(id));
}
/**
* 新增气瓶统计报
*/
@PreAuthorize("@ss.hasPermi('md:qipingtongji:add')")
@Log(title = "气瓶统计报", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtJczcQipingtongji htJczcQipingtongji)
{
return toAjax(htJczcQipingtongjiService.insertHtJczcQipingtongji(htJczcQipingtongji));
}
/**
* 修改气瓶统计报
*/
@PreAuthorize("@ss.hasPermi('md:qipingtongji:edit')")
@Log(title = "气瓶统计报", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtJczcQipingtongji htJczcQipingtongji)
{
return toAjax(htJczcQipingtongjiService.updateHtJczcQipingtongji(htJczcQipingtongji));
}
/**
* 删除气瓶统计报
*/
@PreAuthorize("@ss.hasPermi('md:qipingtongji:remove')")
@Log(title = "气瓶统计报", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htJczcQipingtongjiService.deleteHtJczcQipingtongjiByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtJczcXiaoshoutongji;
import com.ktg.mes.md.service.IHtJczcXiaoshoutongjiService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 销售统计报Controller
*
* @author yinjinlu
* @date 2025-02-21
*/
@RestController
@RequestMapping("/md/xiaoshoutongji")
public class HtJczcXiaoshoutongjiController extends BaseController
{
@Autowired
private IHtJczcXiaoshoutongjiService htJczcXiaoshoutongjiService;
/**
* 查询销售统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:xiaoshoutongji:list')")
@GetMapping("/list")
public TableDataInfo list(HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
startPage();
List<HtJczcXiaoshoutongji> list = htJczcXiaoshoutongjiService.selectHtJczcXiaoshoutongjiList(htJczcXiaoshoutongji);
return getDataTable(list);
}
/**
* 导出销售统计报列表
*/
@PreAuthorize("@ss.hasPermi('md:xiaoshoutongji:export')")
@Log(title = "销售统计报", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
List<HtJczcXiaoshoutongji> list = htJczcXiaoshoutongjiService.selectHtJczcXiaoshoutongjiList(htJczcXiaoshoutongji);
ExcelUtil<HtJczcXiaoshoutongji> util = new ExcelUtil<HtJczcXiaoshoutongji>(HtJczcXiaoshoutongji.class);
util.exportExcel(response, list, "销售统计报数据");
}
/**
* 获取销售统计报详细信息
*/
@PreAuthorize("@ss.hasPermi('md:xiaoshoutongji:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htJczcXiaoshoutongjiService.selectHtJczcXiaoshoutongjiById(id));
}
/**
* 新增销售统计报
*/
@PreAuthorize("@ss.hasPermi('md:xiaoshoutongji:add')")
@Log(title = "销售统计报", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
return toAjax(htJczcXiaoshoutongjiService.insertHtJczcXiaoshoutongji(htJczcXiaoshoutongji));
}
/**
* 修改销售统计报
*/
@PreAuthorize("@ss.hasPermi('md:xiaoshoutongji:edit')")
@Log(title = "销售统计报", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
return toAjax(htJczcXiaoshoutongjiService.updateHtJczcXiaoshoutongji(htJczcXiaoshoutongji));
}
/**
* 删除销售统计报
*/
@PreAuthorize("@ss.hasPermi('md:xiaoshoutongji:remove')")
@Log(title = "销售统计报", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htJczcXiaoshoutongjiService.deleteHtJczcXiaoshoutongjiByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtQingjia;
import com.ktg.mes.md.service.IHtQingjiaService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 请假Controller
*
* @author yinjinlu
* @date 2025-02-20
*/
@RestController
@RequestMapping("/md/qingjia")
public class HtQingjiaController extends BaseController
{
@Autowired
private IHtQingjiaService htQingjiaService;
/**
* 查询请假列表
*/
@PreAuthorize("@ss.hasPermi('md:qingjia:list')")
@GetMapping("/list")
public TableDataInfo list(HtQingjia htQingjia)
{
startPage();
List<HtQingjia> list = htQingjiaService.selectHtQingjiaList(htQingjia);
return getDataTable(list);
}
/**
* 导出请假列表
*/
@PreAuthorize("@ss.hasPermi('md:qingjia:export')")
@Log(title = "请假", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtQingjia htQingjia)
{
List<HtQingjia> list = htQingjiaService.selectHtQingjiaList(htQingjia);
ExcelUtil<HtQingjia> util = new ExcelUtil<HtQingjia>(HtQingjia.class);
util.exportExcel(response, list, "请假数据");
}
/**
* 获取请假详细信息
*/
@PreAuthorize("@ss.hasPermi('md:qingjia:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htQingjiaService.selectHtQingjiaById(id));
}
/**
* 新增请假
*/
@PreAuthorize("@ss.hasPermi('md:qingjia:add')")
@Log(title = "请假", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtQingjia htQingjia)
{
return toAjax(htQingjiaService.insertHtQingjia(htQingjia));
}
/**
* 修改请假
*/
@PreAuthorize("@ss.hasPermi('md:qingjia:edit')")
@Log(title = "请假", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtQingjia htQingjia)
{
return toAjax(htQingjiaService.updateHtQingjia(htQingjia));
}
/**
* 删除请假
*/
@PreAuthorize("@ss.hasPermi('md:qingjia:remove')")
@Log(title = "请假", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htQingjiaService.deleteHtQingjiaByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtWeipan;
import com.ktg.mes.md.service.IHtWeipanService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 微盘管理Controller
*
* @author yinjinlu
* @date 2025-02-20
*/
@RestController
@RequestMapping("/md/weipan")
public class HtWeipanController extends BaseController
{
@Autowired
private IHtWeipanService htWeipanService;
/**
* 查询微盘管理列表
*/
@PreAuthorize("@ss.hasPermi('md:weipan:list')")
@GetMapping("/list")
public TableDataInfo list(HtWeipan htWeipan)
{
startPage();
List<HtWeipan> list = htWeipanService.selectHtWeipanList(htWeipan);
return getDataTable(list);
}
/**
* 导出微盘管理列表
*/
@PreAuthorize("@ss.hasPermi('md:weipan:export')")
@Log(title = "微盘管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtWeipan htWeipan)
{
List<HtWeipan> list = htWeipanService.selectHtWeipanList(htWeipan);
ExcelUtil<HtWeipan> util = new ExcelUtil<HtWeipan>(HtWeipan.class);
util.exportExcel(response, list, "微盘管理数据");
}
/**
* 获取微盘管理详细信息
*/
@PreAuthorize("@ss.hasPermi('md:weipan:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return AjaxResult.success(htWeipanService.selectHtWeipanById(id));
}
/**
* 新增微盘管理
*/
@PreAuthorize("@ss.hasPermi('md:weipan:add')")
@Log(title = "微盘管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtWeipan htWeipan)
{
return toAjax(htWeipanService.insertHtWeipan(htWeipan));
}
/**
* 修改微盘管理
*/
@PreAuthorize("@ss.hasPermi('md:weipan:edit')")
@Log(title = "微盘管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtWeipan htWeipan)
{
return toAjax(htWeipanService.updateHtWeipan(htWeipan));
}
/**
* 删除微盘管理
*/
@PreAuthorize("@ss.hasPermi('md:weipan:remove')")
@Log(title = "微盘管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(htWeipanService.deleteHtWeipanByIds(ids));
}
}

View File

@ -0,0 +1,104 @@
package com.ktg.mes.md.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ktg.common.annotation.Log;
import com.ktg.common.core.controller.BaseController;
import com.ktg.common.core.domain.AjaxResult;
import com.ktg.common.enums.BusinessType;
import com.ktg.mes.md.domain.HtZhiliangfenxi;
import com.ktg.mes.md.service.IHtZhiliangfenxiService;
import com.ktg.common.utils.poi.ExcelUtil;
import com.ktg.common.core.page.TableDataInfo;
/**
* 数据统计与分析Controller
*
* @author yinjinlu
* @date 2025-02-21
*/
@RestController
@RequestMapping("/md/zhiliangfenxi")
public class HtZhiliangfenxiController extends BaseController
{
@Autowired
private IHtZhiliangfenxiService htZhiliangfenxiService;
/**
* 查询数据统计与分析列表
*/
@PreAuthorize("@ss.hasPermi('md:zhiliangfenxi:list')")
@GetMapping("/list")
public TableDataInfo list(HtZhiliangfenxi htZhiliangfenxi)
{
startPage();
List<HtZhiliangfenxi> list = htZhiliangfenxiService.selectHtZhiliangfenxiList(htZhiliangfenxi);
return getDataTable(list);
}
/**
* 导出数据统计与分析列表
*/
@PreAuthorize("@ss.hasPermi('md:zhiliangfenxi:export')")
@Log(title = "数据统计与分析", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HtZhiliangfenxi htZhiliangfenxi)
{
List<HtZhiliangfenxi> list = htZhiliangfenxiService.selectHtZhiliangfenxiList(htZhiliangfenxi);
ExcelUtil<HtZhiliangfenxi> util = new ExcelUtil<HtZhiliangfenxi>(HtZhiliangfenxi.class);
util.exportExcel(response, list, "数据统计与分析数据");
}
/**
* 获取数据统计与分析详细信息
*/
@PreAuthorize("@ss.hasPermi('md:zhiliangfenxi:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Integer id)
{
return AjaxResult.success(htZhiliangfenxiService.selectHtZhiliangfenxiById(id));
}
/**
* 新增数据统计与分析
*/
@PreAuthorize("@ss.hasPermi('md:zhiliangfenxi:add')")
@Log(title = "数据统计与分析", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody HtZhiliangfenxi htZhiliangfenxi)
{
return toAjax(htZhiliangfenxiService.insertHtZhiliangfenxi(htZhiliangfenxi));
}
/**
* 修改数据统计与分析
*/
@PreAuthorize("@ss.hasPermi('md:zhiliangfenxi:edit')")
@Log(title = "数据统计与分析", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody HtZhiliangfenxi htZhiliangfenxi)
{
return toAjax(htZhiliangfenxiService.updateHtZhiliangfenxi(htZhiliangfenxi));
}
/**
* 删除数据统计与分析
*/
@PreAuthorize("@ss.hasPermi('md:zhiliangfenxi:remove')")
@Log(title = "数据统计与分析", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Integer[] ids)
{
return toAjax(htZhiliangfenxiService.deleteHtZhiliangfenxiByIds(ids));
}
}

View File

@ -0,0 +1,96 @@
package com.ktg.mes.md.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 报销对象 ht_baoxiao
*
* @author yinjinlu
* @date 2025-02-20
*/
public class HtBaoxiao extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
private Integer id;
/** 类型 */
@Excel(name = "类型")
private String leixing;
/** 原因 */
@Excel(name = "原因")
private String yuanyin;
/** 金额 */
@Excel(name = "金额")
private Double jine;
/** 时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date shijian;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setLeixing(String leixing)
{
this.leixing = leixing;
}
public String getLeixing()
{
return leixing;
}
public void setYuanyin(String yuanyin)
{
this.yuanyin = yuanyin;
}
public String getYuanyin()
{
return yuanyin;
}
public void setJine(Double jine)
{
this.jine = jine;
}
public Double getJine()
{
return jine;
}
public void setShijian(Date shijian)
{
this.shijian = shijian;
}
public Date getShijian()
{
return shijian;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("leixing", getLeixing())
.append("yuanyin", getYuanyin())
.append("jine", getJine())
.append("shijian", getShijian())
.toString();
}
}

View File

@ -0,0 +1,82 @@
package com.ktg.mes.md.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 公告栏对象 ht_ggl
*
* @author yinjinlu
* @date 2025-02-20
*/
public class HtGgl extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 标题 */
@Excel(name = "标题")
private String biaoti;
/** 时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date shijian;
/** 内容 */
@Excel(name = "内容")
private String neirong;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setBiaoti(String biaoti)
{
this.biaoti = biaoti;
}
public String getBiaoti()
{
return biaoti;
}
public void setShijian(Date shijian)
{
this.shijian = shijian;
}
public Date getShijian()
{
return shijian;
}
public void setNeirong(String neirong)
{
this.neirong = neirong;
}
public String getNeirong()
{
return neirong;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("biaoti", getBiaoti())
.append("shijian", getShijian())
.append("neirong", getNeirong())
.toString();
}
}

View File

@ -0,0 +1,110 @@
package com.ktg.mes.md.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 合同管理对象 ht_hetong
*
* @author yinjinlu
* @date 2025-02-20
*/
public class HtHetong extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 合同编号 */
@Excel(name = "合同编号")
private String bianhao;
/** 合同名称 */
@Excel(name = "合同名称")
private String mingcheng;
/** 合同金额 */
@Excel(name = "合同金额")
private Double jine;
/** 合同时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "合同时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date shijian;
/** 合同内容 */
@Excel(name = "合同内容")
private String neirong;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setBianhao(String bianhao)
{
this.bianhao = bianhao;
}
public String getBianhao()
{
return bianhao;
}
public void setMingcheng(String mingcheng)
{
this.mingcheng = mingcheng;
}
public String getMingcheng()
{
return mingcheng;
}
public void setJine(Double jine)
{
this.jine = jine;
}
public Double getJine()
{
return jine;
}
public void setShijian(Date shijian)
{
this.shijian = shijian;
}
public Date getShijian()
{
return shijian;
}
public void setNeirong(String neirong)
{
this.neirong = neirong;
}
public String getNeirong()
{
return neirong;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("bianhao", getBianhao())
.append("mingcheng", getMingcheng())
.append("jine", getJine())
.append("shijian", getShijian())
.append("neirong", getNeirong())
.toString();
}
}

View File

@ -0,0 +1,379 @@
package com.ktg.mes.md.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 客户统计报对象 ht_jczc_kehutongji
*
* @author yinjinlu
* @date 2025-02-21
*/
public class HtJczcKehutongji extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 客户名称 */
@Excel(name = "客户名称")
private String customerName;
/** 客户类型 */
@Excel(name = "客户类型")
private String customerType;
/** 联系人姓名 */
@Excel(name = "联系人姓名")
private String contactName;
/** 联系电话 */
@Excel(name = "联系电话")
private String contactPhone;
/** 客户所在地区 */
@Excel(name = "客户所在地区")
private String region;
/** 总销售额 */
@Excel(name = "总销售额")
private BigDecimal totalSales;
/** 总销售量 */
@Excel(name = "总销售量")
private BigDecimal totalQuantity;
/** 平均单价 */
@Excel(name = "平均单价")
private BigDecimal averageUnitPrice;
/** 最大订单金额 */
@Excel(name = "最大订单金额")
private BigDecimal largestOrder;
/** 平均订单金额 */
@Excel(name = "平均订单金额")
private BigDecimal averageOrderValue;
/** 直销销售额 */
@Excel(name = "直销销售额")
private BigDecimal directSales;
/** 代理商销售额 */
@Excel(name = "代理商销售额")
private BigDecimal agentSales;
/** 电商平台销售额 */
@Excel(name = "电商平台销售额")
private BigDecimal onlineSales;
/** 气体产品销售额 */
@Excel(name = "气体产品销售额")
private BigDecimal gasSales;
/** 设备销售额 */
@Excel(name = "设备销售额")
private BigDecimal equipmentSales;
/** 服务销售额 */
@Excel(name = "服务销售额")
private BigDecimal serviceSales;
/** 首次下单日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "首次下单日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date firstOrderDate;
/** 最近下单日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "最近下单日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date lastOrderDate;
/** 累计订单数 */
@Excel(name = "累计订单数")
private Integer totalOrders;
/** 复购率 */
@Excel(name = "复购率")
private BigDecimal repeatPurchaseRate;
/** 累计支付金额 */
@Excel(name = "累计支付金额")
private BigDecimal totalPayments;
/** 累计退款金额 */
@Excel(name = "累计退款金额")
private BigDecimal totalRefunds;
/** 未结清金额 */
@Excel(name = "未结清金额")
private BigDecimal outstandingBalance;
/** 统计周期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "统计周期", width = 30, dateFormat = "yyyy-MM-dd")
private Date statisticPeriod;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setCustomerName(String customerName)
{
this.customerName = customerName;
}
public String getCustomerName()
{
return customerName;
}
public void setCustomerType(String customerType)
{
this.customerType = customerType;
}
public String getCustomerType()
{
return customerType;
}
public void setContactName(String contactName)
{
this.contactName = contactName;
}
public String getContactName()
{
return contactName;
}
public void setContactPhone(String contactPhone)
{
this.contactPhone = contactPhone;
}
public String getContactPhone()
{
return contactPhone;
}
public void setRegion(String region)
{
this.region = region;
}
public String getRegion()
{
return region;
}
public void setTotalSales(BigDecimal totalSales)
{
this.totalSales = totalSales;
}
public BigDecimal getTotalSales()
{
return totalSales;
}
public void setTotalQuantity(BigDecimal totalQuantity)
{
this.totalQuantity = totalQuantity;
}
public BigDecimal getTotalQuantity()
{
return totalQuantity;
}
public void setAverageUnitPrice(BigDecimal averageUnitPrice)
{
this.averageUnitPrice = averageUnitPrice;
}
public BigDecimal getAverageUnitPrice()
{
return averageUnitPrice;
}
public void setLargestOrder(BigDecimal largestOrder)
{
this.largestOrder = largestOrder;
}
public BigDecimal getLargestOrder()
{
return largestOrder;
}
public void setAverageOrderValue(BigDecimal averageOrderValue)
{
this.averageOrderValue = averageOrderValue;
}
public BigDecimal getAverageOrderValue()
{
return averageOrderValue;
}
public void setDirectSales(BigDecimal directSales)
{
this.directSales = directSales;
}
public BigDecimal getDirectSales()
{
return directSales;
}
public void setAgentSales(BigDecimal agentSales)
{
this.agentSales = agentSales;
}
public BigDecimal getAgentSales()
{
return agentSales;
}
public void setOnlineSales(BigDecimal onlineSales)
{
this.onlineSales = onlineSales;
}
public BigDecimal getOnlineSales()
{
return onlineSales;
}
public void setGasSales(BigDecimal gasSales)
{
this.gasSales = gasSales;
}
public BigDecimal getGasSales()
{
return gasSales;
}
public void setEquipmentSales(BigDecimal equipmentSales)
{
this.equipmentSales = equipmentSales;
}
public BigDecimal getEquipmentSales()
{
return equipmentSales;
}
public void setServiceSales(BigDecimal serviceSales)
{
this.serviceSales = serviceSales;
}
public BigDecimal getServiceSales()
{
return serviceSales;
}
public void setFirstOrderDate(Date firstOrderDate)
{
this.firstOrderDate = firstOrderDate;
}
public Date getFirstOrderDate()
{
return firstOrderDate;
}
public void setLastOrderDate(Date lastOrderDate)
{
this.lastOrderDate = lastOrderDate;
}
public Date getLastOrderDate()
{
return lastOrderDate;
}
public void setTotalOrders(Integer totalOrders)
{
this.totalOrders = totalOrders;
}
public Integer getTotalOrders()
{
return totalOrders;
}
public void setRepeatPurchaseRate(BigDecimal repeatPurchaseRate)
{
this.repeatPurchaseRate = repeatPurchaseRate;
}
public BigDecimal getRepeatPurchaseRate()
{
return repeatPurchaseRate;
}
public void setTotalPayments(BigDecimal totalPayments)
{
this.totalPayments = totalPayments;
}
public BigDecimal getTotalPayments()
{
return totalPayments;
}
public void setTotalRefunds(BigDecimal totalRefunds)
{
this.totalRefunds = totalRefunds;
}
public BigDecimal getTotalRefunds()
{
return totalRefunds;
}
public void setOutstandingBalance(BigDecimal outstandingBalance)
{
this.outstandingBalance = outstandingBalance;
}
public BigDecimal getOutstandingBalance()
{
return outstandingBalance;
}
public void setStatisticPeriod(Date statisticPeriod)
{
this.statisticPeriod = statisticPeriod;
}
public Date getStatisticPeriod()
{
return statisticPeriod;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("customerName", getCustomerName())
.append("customerType", getCustomerType())
.append("contactName", getContactName())
.append("contactPhone", getContactPhone())
.append("region", getRegion())
.append("totalSales", getTotalSales())
.append("totalQuantity", getTotalQuantity())
.append("averageUnitPrice", getAverageUnitPrice())
.append("largestOrder", getLargestOrder())
.append("averageOrderValue", getAverageOrderValue())
.append("directSales", getDirectSales())
.append("agentSales", getAgentSales())
.append("onlineSales", getOnlineSales())
.append("gasSales", getGasSales())
.append("equipmentSales", getEquipmentSales())
.append("serviceSales", getServiceSales())
.append("firstOrderDate", getFirstOrderDate())
.append("lastOrderDate", getLastOrderDate())
.append("totalOrders", getTotalOrders())
.append("repeatPurchaseRate", getRepeatPurchaseRate())
.append("totalPayments", getTotalPayments())
.append("totalRefunds", getTotalRefunds())
.append("outstandingBalance", getOutstandingBalance())
.append("statisticPeriod", getStatisticPeriod())
.toString();
}
}

View File

@ -0,0 +1,363 @@
package com.ktg.mes.md.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 库存统计报对象 ht_jczc_kucuntongji
*
* @author yinjinlu
* @date 2025-02-21
*/
public class HtJczcKucuntongji extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 统计日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date statisticDate;
/** 总库存价值 */
@Excel(name = "总库存价值")
private BigDecimal totalInventoryValue;
/** 总库存数量 */
@Excel(name = "总库存数量")
private BigDecimal totalQuantity;
/** 原材料库存价值 */
@Excel(name = "原材料库存价值")
private BigDecimal rawMaterialValue;
/** 原材料库存数量 */
@Excel(name = "原材料库存数量")
private BigDecimal rawMaterialQuantity;
/** 原材料库存周转率 */
@Excel(name = "原材料库存周转率")
private BigDecimal rawMaterialTurnoverRate;
/** 成品库存价值 */
@Excel(name = "成品库存价值")
private BigDecimal finishedGoodsValue;
/** 成品库存数量 */
@Excel(name = "成品库存数量")
private BigDecimal finishedGoodsQuantity;
/** 成品库存周转率 */
@Excel(name = "成品库存周转率")
private BigDecimal finishedGoodsTurnoverRate;
/** 氧气库存价值 */
@Excel(name = "氧气库存价值")
private BigDecimal oxygenValue;
/** 氧气库存数量 */
@Excel(name = "氧气库存数量")
private BigDecimal oxygenQuantity;
/** 氮气库存价值 */
@Excel(name = "氮气库存价值")
private BigDecimal nitrogenValue;
/** 氮气库存数量 */
@Excel(name = "氮气库存数量")
private BigDecimal nitrogenQuantity;
/** 氩气库存价值 */
@Excel(name = "氩气库存价值")
private BigDecimal argonValue;
/** 氩气库存数量 */
@Excel(name = "氩气库存数量")
private BigDecimal argonQuantity;
/** 总库存周转率 */
@Excel(name = "总库存周转率")
private BigDecimal overallTurnoverRate;
/** 库存周转天数 */
@Excel(name = "库存周转天数")
private Integer daysInventoryOutstanding;
/** 低库存商品数量 */
@Excel(name = "低库存商品数量")
private Integer lowStockItems;
/** 缺货商品数量 */
@Excel(name = "缺货商品数量")
private Integer outOfStockItems;
/** 积压商品数量 */
@Excel(name = "积压商品数量")
private Integer excessStockItems;
/** 地区 */
@Excel(name = "地区")
private String region;
/** 仓库名称 */
@Excel(name = "仓库名称")
private String warehouse;
/** 年份 */
@Excel(name = "年份")
private Integer year;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setStatisticDate(Date statisticDate)
{
this.statisticDate = statisticDate;
}
public Date getStatisticDate()
{
return statisticDate;
}
public void setTotalInventoryValue(BigDecimal totalInventoryValue)
{
this.totalInventoryValue = totalInventoryValue;
}
public BigDecimal getTotalInventoryValue()
{
return totalInventoryValue;
}
public void setTotalQuantity(BigDecimal totalQuantity)
{
this.totalQuantity = totalQuantity;
}
public BigDecimal getTotalQuantity()
{
return totalQuantity;
}
public void setRawMaterialValue(BigDecimal rawMaterialValue)
{
this.rawMaterialValue = rawMaterialValue;
}
public BigDecimal getRawMaterialValue()
{
return rawMaterialValue;
}
public void setRawMaterialQuantity(BigDecimal rawMaterialQuantity)
{
this.rawMaterialQuantity = rawMaterialQuantity;
}
public BigDecimal getRawMaterialQuantity()
{
return rawMaterialQuantity;
}
public void setRawMaterialTurnoverRate(BigDecimal rawMaterialTurnoverRate)
{
this.rawMaterialTurnoverRate = rawMaterialTurnoverRate;
}
public BigDecimal getRawMaterialTurnoverRate()
{
return rawMaterialTurnoverRate;
}
public void setFinishedGoodsValue(BigDecimal finishedGoodsValue)
{
this.finishedGoodsValue = finishedGoodsValue;
}
public BigDecimal getFinishedGoodsValue()
{
return finishedGoodsValue;
}
public void setFinishedGoodsQuantity(BigDecimal finishedGoodsQuantity)
{
this.finishedGoodsQuantity = finishedGoodsQuantity;
}
public BigDecimal getFinishedGoodsQuantity()
{
return finishedGoodsQuantity;
}
public void setFinishedGoodsTurnoverRate(BigDecimal finishedGoodsTurnoverRate)
{
this.finishedGoodsTurnoverRate = finishedGoodsTurnoverRate;
}
public BigDecimal getFinishedGoodsTurnoverRate()
{
return finishedGoodsTurnoverRate;
}
public void setOxygenValue(BigDecimal oxygenValue)
{
this.oxygenValue = oxygenValue;
}
public BigDecimal getOxygenValue()
{
return oxygenValue;
}
public void setOxygenQuantity(BigDecimal oxygenQuantity)
{
this.oxygenQuantity = oxygenQuantity;
}
public BigDecimal getOxygenQuantity()
{
return oxygenQuantity;
}
public void setNitrogenValue(BigDecimal nitrogenValue)
{
this.nitrogenValue = nitrogenValue;
}
public BigDecimal getNitrogenValue()
{
return nitrogenValue;
}
public void setNitrogenQuantity(BigDecimal nitrogenQuantity)
{
this.nitrogenQuantity = nitrogenQuantity;
}
public BigDecimal getNitrogenQuantity()
{
return nitrogenQuantity;
}
public void setArgonValue(BigDecimal argonValue)
{
this.argonValue = argonValue;
}
public BigDecimal getArgonValue()
{
return argonValue;
}
public void setArgonQuantity(BigDecimal argonQuantity)
{
this.argonQuantity = argonQuantity;
}
public BigDecimal getArgonQuantity()
{
return argonQuantity;
}
public void setOverallTurnoverRate(BigDecimal overallTurnoverRate)
{
this.overallTurnoverRate = overallTurnoverRate;
}
public BigDecimal getOverallTurnoverRate()
{
return overallTurnoverRate;
}
public void setDaysInventoryOutstanding(Integer daysInventoryOutstanding)
{
this.daysInventoryOutstanding = daysInventoryOutstanding;
}
public Integer getDaysInventoryOutstanding()
{
return daysInventoryOutstanding;
}
public void setLowStockItems(Integer lowStockItems)
{
this.lowStockItems = lowStockItems;
}
public Integer getLowStockItems()
{
return lowStockItems;
}
public void setOutOfStockItems(Integer outOfStockItems)
{
this.outOfStockItems = outOfStockItems;
}
public Integer getOutOfStockItems()
{
return outOfStockItems;
}
public void setExcessStockItems(Integer excessStockItems)
{
this.excessStockItems = excessStockItems;
}
public Integer getExcessStockItems()
{
return excessStockItems;
}
public void setRegion(String region)
{
this.region = region;
}
public String getRegion()
{
return region;
}
public void setWarehouse(String warehouse)
{
this.warehouse = warehouse;
}
public String getWarehouse()
{
return warehouse;
}
public void setYear(Integer year)
{
this.year = year;
}
public Integer getYear()
{
return year;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("statisticDate", getStatisticDate())
.append("totalInventoryValue", getTotalInventoryValue())
.append("totalQuantity", getTotalQuantity())
.append("rawMaterialValue", getRawMaterialValue())
.append("rawMaterialQuantity", getRawMaterialQuantity())
.append("rawMaterialTurnoverRate", getRawMaterialTurnoverRate())
.append("finishedGoodsValue", getFinishedGoodsValue())
.append("finishedGoodsQuantity", getFinishedGoodsQuantity())
.append("finishedGoodsTurnoverRate", getFinishedGoodsTurnoverRate())
.append("oxygenValue", getOxygenValue())
.append("oxygenQuantity", getOxygenQuantity())
.append("nitrogenValue", getNitrogenValue())
.append("nitrogenQuantity", getNitrogenQuantity())
.append("argonValue", getArgonValue())
.append("argonQuantity", getArgonQuantity())
.append("overallTurnoverRate", getOverallTurnoverRate())
.append("daysInventoryOutstanding", getDaysInventoryOutstanding())
.append("lowStockItems", getLowStockItems())
.append("outOfStockItems", getOutOfStockItems())
.append("excessStockItems", getExcessStockItems())
.append("region", getRegion())
.append("warehouse", getWarehouse())
.append("year", getYear())
.toString();
}
}

View File

@ -0,0 +1,334 @@
package com.ktg.mes.md.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 气瓶统计报对象 ht_jczc_qipingtongji
*
* @author yinjinlu
* @date 2025-02-21
*/
public class HtJczcQipingtongji extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 统计日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date statisticDate;
/** 公司库存气瓶数量 */
@Excel(name = "公司库存气瓶数量")
private Integer companyStock;
/** 客户欠瓶数量 */
@Excel(name = "客户欠瓶数量")
private Integer customerOwing;
/** 新购气瓶数量 */
@Excel(name = "新购气瓶数量")
private Integer newlyPurchased;
/** 售出气瓶数量 */
@Excel(name = "售出气瓶数量")
private Integer sold;
/** 报废气瓶数量 */
@Excel(name = "报废气瓶数量")
private Integer scrapped;
/** 气瓶实际总量 */
@Excel(name = "气瓶实际总量")
private Integer totalCylinders;
/** 在库气瓶数量 */
@Excel(name = "在库气瓶数量")
private Integer inStock;
/** 在用气瓶数量 */
@Excel(name = "在用气瓶数量")
private Integer inUse;
/** 在维护气瓶数量 */
@Excel(name = "在维护气瓶数量")
private Integer inMaintenance;
/** 待报废气瓶数量 */
@Excel(name = "待报废气瓶数量")
private Integer awaitingScrap;
/** 氧气瓶数量 */
@Excel(name = "氧气瓶数量")
private Integer oxygenCylinders;
/** 氮气瓶数量 */
@Excel(name = "氮气瓶数量")
private Integer nitrogenCylinders;
/** 氩气瓶数量 */
@Excel(name = "氩气瓶数量")
private Integer argonCylinders;
/** 其他气瓶数量 */
@Excel(name = "其他气瓶数量")
private Integer otherCylinders;
/** 租出气瓶数量 */
@Excel(name = "租出气瓶数量")
private Integer cylindersRented;
/** 归还气瓶数量 */
@Excel(name = "归还气瓶数量")
private Integer cylindersReturned;
/** 丢失气瓶数量 */
@Excel(name = "丢失气瓶数量")
private Integer cylindersLost;
/** 地区 */
@Excel(name = "地区")
private String region;
/** 仓库名称 */
@Excel(name = "仓库名称")
private String warehouse;
/** 年份 */
@Excel(name = "年份")
private Integer year;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setStatisticDate(Date statisticDate)
{
this.statisticDate = statisticDate;
}
public Date getStatisticDate()
{
return statisticDate;
}
public void setCompanyStock(Integer companyStock)
{
this.companyStock = companyStock;
}
public Integer getCompanyStock()
{
return companyStock;
}
public void setCustomerOwing(Integer customerOwing)
{
this.customerOwing = customerOwing;
}
public Integer getCustomerOwing()
{
return customerOwing;
}
public void setNewlyPurchased(Integer newlyPurchased)
{
this.newlyPurchased = newlyPurchased;
}
public Integer getNewlyPurchased()
{
return newlyPurchased;
}
public void setSold(Integer sold)
{
this.sold = sold;
}
public Integer getSold()
{
return sold;
}
public void setScrapped(Integer scrapped)
{
this.scrapped = scrapped;
}
public Integer getScrapped()
{
return scrapped;
}
public void setTotalCylinders(Integer totalCylinders)
{
this.totalCylinders = totalCylinders;
}
public Integer getTotalCylinders()
{
return totalCylinders;
}
public void setInStock(Integer inStock)
{
this.inStock = inStock;
}
public Integer getInStock()
{
return inStock;
}
public void setInUse(Integer inUse)
{
this.inUse = inUse;
}
public Integer getInUse()
{
return inUse;
}
public void setInMaintenance(Integer inMaintenance)
{
this.inMaintenance = inMaintenance;
}
public Integer getInMaintenance()
{
return inMaintenance;
}
public void setAwaitingScrap(Integer awaitingScrap)
{
this.awaitingScrap = awaitingScrap;
}
public Integer getAwaitingScrap()
{
return awaitingScrap;
}
public void setOxygenCylinders(Integer oxygenCylinders)
{
this.oxygenCylinders = oxygenCylinders;
}
public Integer getOxygenCylinders()
{
return oxygenCylinders;
}
public void setNitrogenCylinders(Integer nitrogenCylinders)
{
this.nitrogenCylinders = nitrogenCylinders;
}
public Integer getNitrogenCylinders()
{
return nitrogenCylinders;
}
public void setArgonCylinders(Integer argonCylinders)
{
this.argonCylinders = argonCylinders;
}
public Integer getArgonCylinders()
{
return argonCylinders;
}
public void setOtherCylinders(Integer otherCylinders)
{
this.otherCylinders = otherCylinders;
}
public Integer getOtherCylinders()
{
return otherCylinders;
}
public void setCylindersRented(Integer cylindersRented)
{
this.cylindersRented = cylindersRented;
}
public Integer getCylindersRented()
{
return cylindersRented;
}
public void setCylindersReturned(Integer cylindersReturned)
{
this.cylindersReturned = cylindersReturned;
}
public Integer getCylindersReturned()
{
return cylindersReturned;
}
public void setCylindersLost(Integer cylindersLost)
{
this.cylindersLost = cylindersLost;
}
public Integer getCylindersLost()
{
return cylindersLost;
}
public void setRegion(String region)
{
this.region = region;
}
public String getRegion()
{
return region;
}
public void setWarehouse(String warehouse)
{
this.warehouse = warehouse;
}
public String getWarehouse()
{
return warehouse;
}
public void setYear(Integer year)
{
this.year = year;
}
public Integer getYear()
{
return year;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("statisticDate", getStatisticDate())
.append("companyStock", getCompanyStock())
.append("customerOwing", getCustomerOwing())
.append("newlyPurchased", getNewlyPurchased())
.append("sold", getSold())
.append("scrapped", getScrapped())
.append("totalCylinders", getTotalCylinders())
.append("inStock", getInStock())
.append("inUse", getInUse())
.append("inMaintenance", getInMaintenance())
.append("awaitingScrap", getAwaitingScrap())
.append("oxygenCylinders", getOxygenCylinders())
.append("nitrogenCylinders", getNitrogenCylinders())
.append("argonCylinders", getArgonCylinders())
.append("otherCylinders", getOtherCylinders())
.append("cylindersRented", getCylindersRented())
.append("cylindersReturned", getCylindersReturned())
.append("cylindersLost", getCylindersLost())
.append("region", getRegion())
.append("warehouse", getWarehouse())
.append("year", getYear())
.toString();
}
}

View File

@ -0,0 +1,348 @@
package com.ktg.mes.md.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 销售统计报对象 ht_jczc_xiaoshoutongji
*
* @author yinjinlu
* @date 2025-02-21
*/
public class HtJczcXiaoshoutongji extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 统计日期(通常是每月第一天) */
@Excel(name = "统计日期", readConverterExp = "通=常是每月第一天")
private Date statisticDate;
/** 总销售额 */
@Excel(name = "总销售额")
private BigDecimal totalSales;
/** 总销售量 */
@Excel(name = "总销售量")
private BigDecimal totalQuantity;
/** 平均单价 */
@Excel(name = "平均单价")
private BigDecimal averageUnitPrice;
/** 工业客户销售额 */
@Excel(name = "工业客户销售额")
private BigDecimal industrialSales;
/** 医疗客户销售额 */
@Excel(name = "医疗客户销售额")
private BigDecimal medicalSales;
/** 零售客户销售额 */
@Excel(name = "零售客户销售额")
private BigDecimal retailSales;
/** 其他客户销售额 */
@Excel(name = "其他客户销售额")
private BigDecimal otherSales;
/** 直销销售额 */
@Excel(name = "直销销售额")
private BigDecimal directSales;
/** 代理商销售额 */
@Excel(name = "代理商销售额")
private BigDecimal agentSales;
/** 电商平台销售额 */
@Excel(name = "电商平台销售额")
private BigDecimal onlineSales;
/** 气体产品销售额 */
@Excel(name = "气体产品销售额")
private BigDecimal gasSales;
/** 设备销售额 */
@Excel(name = "设备销售额")
private BigDecimal equipmentSales;
/** 服务销售额 */
@Excel(name = "服务销售额")
private BigDecimal serviceSales;
/** 新增客户数量 */
@Excel(name = "新增客户数量")
private Integer newCustomers;
/** 回头客数量 */
@Excel(name = "回头客数量")
private Integer repeatCustomers;
/** 最大订单金额 */
@Excel(name = "最大订单金额")
private BigDecimal largestOrder;
/** 平均订单金额 */
@Excel(name = "平均订单金额")
private BigDecimal averageOrderValue;
/** 退款金额 */
@Excel(name = "退款金额")
private BigDecimal refundAmount;
/** 净销售额 */
@Excel(name = "净销售额")
private BigDecimal netSales;
/** 季度 */
@Excel(name = "季度")
private String season;
/** 年份 */
@Excel(name = "年份")
private Integer year;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setStatisticDate(Date statisticDate)
{
this.statisticDate = statisticDate;
}
public Date getStatisticDate()
{
return statisticDate;
}
public void setTotalSales(BigDecimal totalSales)
{
this.totalSales = totalSales;
}
public BigDecimal getTotalSales()
{
return totalSales;
}
public void setTotalQuantity(BigDecimal totalQuantity)
{
this.totalQuantity = totalQuantity;
}
public BigDecimal getTotalQuantity()
{
return totalQuantity;
}
public void setAverageUnitPrice(BigDecimal averageUnitPrice)
{
this.averageUnitPrice = averageUnitPrice;
}
public BigDecimal getAverageUnitPrice()
{
return averageUnitPrice;
}
public void setIndustrialSales(BigDecimal industrialSales)
{
this.industrialSales = industrialSales;
}
public BigDecimal getIndustrialSales()
{
return industrialSales;
}
public void setMedicalSales(BigDecimal medicalSales)
{
this.medicalSales = medicalSales;
}
public BigDecimal getMedicalSales()
{
return medicalSales;
}
public void setRetailSales(BigDecimal retailSales)
{
this.retailSales = retailSales;
}
public BigDecimal getRetailSales()
{
return retailSales;
}
public void setOtherSales(BigDecimal otherSales)
{
this.otherSales = otherSales;
}
public BigDecimal getOtherSales()
{
return otherSales;
}
public void setDirectSales(BigDecimal directSales)
{
this.directSales = directSales;
}
public BigDecimal getDirectSales()
{
return directSales;
}
public void setAgentSales(BigDecimal agentSales)
{
this.agentSales = agentSales;
}
public BigDecimal getAgentSales()
{
return agentSales;
}
public void setOnlineSales(BigDecimal onlineSales)
{
this.onlineSales = onlineSales;
}
public BigDecimal getOnlineSales()
{
return onlineSales;
}
public void setGasSales(BigDecimal gasSales)
{
this.gasSales = gasSales;
}
public BigDecimal getGasSales()
{
return gasSales;
}
public void setEquipmentSales(BigDecimal equipmentSales)
{
this.equipmentSales = equipmentSales;
}
public BigDecimal getEquipmentSales()
{
return equipmentSales;
}
public void setServiceSales(BigDecimal serviceSales)
{
this.serviceSales = serviceSales;
}
public BigDecimal getServiceSales()
{
return serviceSales;
}
public void setNewCustomers(Integer newCustomers)
{
this.newCustomers = newCustomers;
}
public Integer getNewCustomers()
{
return newCustomers;
}
public void setRepeatCustomers(Integer repeatCustomers)
{
this.repeatCustomers = repeatCustomers;
}
public Integer getRepeatCustomers()
{
return repeatCustomers;
}
public void setLargestOrder(BigDecimal largestOrder)
{
this.largestOrder = largestOrder;
}
public BigDecimal getLargestOrder()
{
return largestOrder;
}
public void setAverageOrderValue(BigDecimal averageOrderValue)
{
this.averageOrderValue = averageOrderValue;
}
public BigDecimal getAverageOrderValue()
{
return averageOrderValue;
}
public void setRefundAmount(BigDecimal refundAmount)
{
this.refundAmount = refundAmount;
}
public BigDecimal getRefundAmount()
{
return refundAmount;
}
public void setNetSales(BigDecimal netSales)
{
this.netSales = netSales;
}
public BigDecimal getNetSales()
{
return netSales;
}
public void setSeason(String season)
{
this.season = season;
}
public String getSeason()
{
return season;
}
public void setYear(Integer year)
{
this.year = year;
}
public Integer getYear()
{
return year;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("statisticDate", getStatisticDate())
.append("totalSales", getTotalSales())
.append("totalQuantity", getTotalQuantity())
.append("averageUnitPrice", getAverageUnitPrice())
.append("industrialSales", getIndustrialSales())
.append("medicalSales", getMedicalSales())
.append("retailSales", getRetailSales())
.append("otherSales", getOtherSales())
.append("directSales", getDirectSales())
.append("agentSales", getAgentSales())
.append("onlineSales", getOnlineSales())
.append("gasSales", getGasSales())
.append("equipmentSales", getEquipmentSales())
.append("serviceSales", getServiceSales())
.append("newCustomers", getNewCustomers())
.append("repeatCustomers", getRepeatCustomers())
.append("largestOrder", getLargestOrder())
.append("averageOrderValue", getAverageOrderValue())
.append("refundAmount", getRefundAmount())
.append("netSales", getNetSales())
.append("season", getSeason())
.append("year", getYear())
.toString();
}
}

View File

@ -0,0 +1,97 @@
package com.ktg.mes.md.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 请假对象 ht_qingjia
*
* @author yinjinlu
* @date 2025-02-20
*/
public class HtQingjia extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
private Integer id;
/** 类型 */
@Excel(name = "类型")
private String leixing;
/** 开始时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date kaishi;
/** 结束时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date jieshu;
/** 原因 */
@Excel(name = "原因")
private String yuanyin;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setLeixing(String leixing)
{
this.leixing = leixing;
}
public String getLeixing()
{
return leixing;
}
public void setKaishi(Date kaishi)
{
this.kaishi = kaishi;
}
public Date getKaishi()
{
return kaishi;
}
public void setJieshu(Date jieshu)
{
this.jieshu = jieshu;
}
public Date getJieshu()
{
return jieshu;
}
public void setYuanyin(String yuanyin)
{
this.yuanyin = yuanyin;
}
public String getYuanyin()
{
return yuanyin;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("leixing", getLeixing())
.append("kaishi", getKaishi())
.append("jieshu", getJieshu())
.append("yuanyin", getYuanyin())
.toString();
}
}

View File

@ -0,0 +1,96 @@
package com.ktg.mes.md.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 微盘管理对象 ht_weipan
*
* @author yinjinlu
* @date 2025-02-20
*/
public class HtWeipan extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Long id;
/** 上传人 */
@Excel(name = "上传人")
private String shangchuanren;
/** 时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date shijian;
/** 类型 */
@Excel(name = "类型")
private String leixing;
/** 文件 */
@Excel(name = "文件")
private String wenjian;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setShangchuanren(String shangchuanren)
{
this.shangchuanren = shangchuanren;
}
public String getShangchuanren()
{
return shangchuanren;
}
public void setShijian(Date shijian)
{
this.shijian = shijian;
}
public Date getShijian()
{
return shijian;
}
public void setLeixing(String leixing)
{
this.leixing = leixing;
}
public String getLeixing()
{
return leixing;
}
public void setWenjian(String wenjian)
{
this.wenjian = wenjian;
}
public String getWenjian()
{
return wenjian;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("shangchuanren", getShangchuanren())
.append("shijian", getShijian())
.append("leixing", getLeixing())
.append("wenjian", getWenjian())
.toString();
}
}

View File

@ -0,0 +1,334 @@
package com.ktg.mes.md.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;
/**
* 数据统计与分析对象 ht_zhiliangfenxi
*
* @author yinjinlu
* @date 2025-02-21
*/
public class HtZhiliangfenxi extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Integer id;
/** 统计日期(通常是每天或每月第一天) */
@Excel(name = "统计日期", readConverterExp = "通=常是每天或每月第一天")
private Date statisticDate;
/** 总检测样本数 */
@Excel(name = "总检测样本数")
private Integer totalSamples;
/** 合格样本数 */
@Excel(name = "合格样本数")
private Integer passedSamples;
/** 不合格样本数 */
@Excel(name = "不合格样本数")
private Integer failedSamples;
/** 合格率 */
@Excel(name = "合格率")
private BigDecimal passRate;
/** 杂质超标不合格数 */
@Excel(name = "杂质超标不合格数")
private Integer impurityFailures;
/** 压力不合格数 */
@Excel(name = "压力不合格数")
private Integer pressureFailures;
/** 泄漏不合格数 */
@Excel(name = "泄漏不合格数")
private Integer leakageFailures;
/** 标签错误不合格数 */
@Excel(name = "标签错误不合格数")
private Integer labelingFailures;
/** 其他原因不合格数 */
@Excel(name = "其他原因不合格数")
private Integer otherFailures;
/** 氧气产品合格率 */
@Excel(name = "氧气产品合格率")
private BigDecimal oxygenPassRate;
/** 氮气产品合格率 */
@Excel(name = "氮气产品合格率")
private BigDecimal nitrogenPassRate;
/** 氩气产品合格率 */
@Excel(name = "氩气产品合格率")
private BigDecimal argonPassRate;
/** 其他气体产品合格率 */
@Excel(name = "其他气体产品合格率")
private BigDecimal otherGasesPassRate;
/** 检测设备名称 */
@Excel(name = "检测设备名称")
private String testingEquipment;
/** 检测人员姓名 */
@Excel(name = "检测人员姓名")
private String testingPersonnel;
/** 地区 */
@Excel(name = "地区")
private String region;
/** 生产线名称 */
@Excel(name = "生产线名称")
private String productionLine;
/** 年份 */
@Excel(name = "年份")
private Integer year;
/** 纠正措施 */
@Excel(name = "纠正措施")
private String correctiveActions;
/** 预防措施 */
@Excel(name = "预防措施")
private String preventiveActions;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setStatisticDate(Date statisticDate)
{
this.statisticDate = statisticDate;
}
public Date getStatisticDate()
{
return statisticDate;
}
public void setTotalSamples(Integer totalSamples)
{
this.totalSamples = totalSamples;
}
public Integer getTotalSamples()
{
return totalSamples;
}
public void setPassedSamples(Integer passedSamples)
{
this.passedSamples = passedSamples;
}
public Integer getPassedSamples()
{
return passedSamples;
}
public void setFailedSamples(Integer failedSamples)
{
this.failedSamples = failedSamples;
}
public Integer getFailedSamples()
{
return failedSamples;
}
public void setPassRate(BigDecimal passRate)
{
this.passRate = passRate;
}
public BigDecimal getPassRate()
{
return passRate;
}
public void setImpurityFailures(Integer impurityFailures)
{
this.impurityFailures = impurityFailures;
}
public Integer getImpurityFailures()
{
return impurityFailures;
}
public void setPressureFailures(Integer pressureFailures)
{
this.pressureFailures = pressureFailures;
}
public Integer getPressureFailures()
{
return pressureFailures;
}
public void setLeakageFailures(Integer leakageFailures)
{
this.leakageFailures = leakageFailures;
}
public Integer getLeakageFailures()
{
return leakageFailures;
}
public void setLabelingFailures(Integer labelingFailures)
{
this.labelingFailures = labelingFailures;
}
public Integer getLabelingFailures()
{
return labelingFailures;
}
public void setOtherFailures(Integer otherFailures)
{
this.otherFailures = otherFailures;
}
public Integer getOtherFailures()
{
return otherFailures;
}
public void setOxygenPassRate(BigDecimal oxygenPassRate)
{
this.oxygenPassRate = oxygenPassRate;
}
public BigDecimal getOxygenPassRate()
{
return oxygenPassRate;
}
public void setNitrogenPassRate(BigDecimal nitrogenPassRate)
{
this.nitrogenPassRate = nitrogenPassRate;
}
public BigDecimal getNitrogenPassRate()
{
return nitrogenPassRate;
}
public void setArgonPassRate(BigDecimal argonPassRate)
{
this.argonPassRate = argonPassRate;
}
public BigDecimal getArgonPassRate()
{
return argonPassRate;
}
public void setOtherGasesPassRate(BigDecimal otherGasesPassRate)
{
this.otherGasesPassRate = otherGasesPassRate;
}
public BigDecimal getOtherGasesPassRate()
{
return otherGasesPassRate;
}
public void setTestingEquipment(String testingEquipment)
{
this.testingEquipment = testingEquipment;
}
public String getTestingEquipment()
{
return testingEquipment;
}
public void setTestingPersonnel(String testingPersonnel)
{
this.testingPersonnel = testingPersonnel;
}
public String getTestingPersonnel()
{
return testingPersonnel;
}
public void setRegion(String region)
{
this.region = region;
}
public String getRegion()
{
return region;
}
public void setProductionLine(String productionLine)
{
this.productionLine = productionLine;
}
public String getProductionLine()
{
return productionLine;
}
public void setYear(Integer year)
{
this.year = year;
}
public Integer getYear()
{
return year;
}
public void setCorrectiveActions(String correctiveActions)
{
this.correctiveActions = correctiveActions;
}
public String getCorrectiveActions()
{
return correctiveActions;
}
public void setPreventiveActions(String preventiveActions)
{
this.preventiveActions = preventiveActions;
}
public String getPreventiveActions()
{
return preventiveActions;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("statisticDate", getStatisticDate())
.append("totalSamples", getTotalSamples())
.append("passedSamples", getPassedSamples())
.append("failedSamples", getFailedSamples())
.append("passRate", getPassRate())
.append("impurityFailures", getImpurityFailures())
.append("pressureFailures", getPressureFailures())
.append("leakageFailures", getLeakageFailures())
.append("labelingFailures", getLabelingFailures())
.append("otherFailures", getOtherFailures())
.append("oxygenPassRate", getOxygenPassRate())
.append("nitrogenPassRate", getNitrogenPassRate())
.append("argonPassRate", getArgonPassRate())
.append("otherGasesPassRate", getOtherGasesPassRate())
.append("testingEquipment", getTestingEquipment())
.append("testingPersonnel", getTestingPersonnel())
.append("region", getRegion())
.append("productionLine", getProductionLine())
.append("year", getYear())
.append("correctiveActions", getCorrectiveActions())
.append("preventiveActions", getPreventiveActions())
.toString();
}
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtBaoxiao;
/**
* 报销Mapper接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface HtBaoxiaoMapper
{
/**
* 查询报销
*
* @param id 报销主键
* @return 报销
*/
public HtBaoxiao selectHtBaoxiaoById(Integer id);
/**
* 查询报销列表
*
* @param htBaoxiao 报销
* @return 报销集合
*/
public List<HtBaoxiao> selectHtBaoxiaoList(HtBaoxiao htBaoxiao);
/**
* 新增报销
*
* @param htBaoxiao 报销
* @return 结果
*/
public int insertHtBaoxiao(HtBaoxiao htBaoxiao);
/**
* 修改报销
*
* @param htBaoxiao 报销
* @return 结果
*/
public int updateHtBaoxiao(HtBaoxiao htBaoxiao);
/**
* 删除报销
*
* @param id 报销主键
* @return 结果
*/
public int deleteHtBaoxiaoById(Integer id);
/**
* 批量删除报销
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtBaoxiaoByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtGgl;
/**
* 公告栏Mapper接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface HtGglMapper
{
/**
* 查询公告栏
*
* @param id 公告栏主键
* @return 公告栏
*/
public HtGgl selectHtGglById(Integer id);
/**
* 查询公告栏列表
*
* @param htGgl 公告栏
* @return 公告栏集合
*/
public List<HtGgl> selectHtGglList(HtGgl htGgl);
/**
* 新增公告栏
*
* @param htGgl 公告栏
* @return 结果
*/
public int insertHtGgl(HtGgl htGgl);
/**
* 修改公告栏
*
* @param htGgl 公告栏
* @return 结果
*/
public int updateHtGgl(HtGgl htGgl);
/**
* 删除公告栏
*
* @param id 公告栏主键
* @return 结果
*/
public int deleteHtGglById(Integer id);
/**
* 批量删除公告栏
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtGglByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtHetong;
/**
* 合同管理Mapper接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface HtHetongMapper
{
/**
* 查询合同管理
*
* @param id 合同管理主键
* @return 合同管理
*/
public HtHetong selectHtHetongById(Integer id);
/**
* 查询合同管理列表
*
* @param htHetong 合同管理
* @return 合同管理集合
*/
public List<HtHetong> selectHtHetongList(HtHetong htHetong);
/**
* 新增合同管理
*
* @param htHetong 合同管理
* @return 结果
*/
public int insertHtHetong(HtHetong htHetong);
/**
* 修改合同管理
*
* @param htHetong 合同管理
* @return 结果
*/
public int updateHtHetong(HtHetong htHetong);
/**
* 删除合同管理
*
* @param id 合同管理主键
* @return 结果
*/
public int deleteHtHetongById(Integer id);
/**
* 批量删除合同管理
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtHetongByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcKehutongji;
/**
* 客户统计报Mapper接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface HtJczcKehutongjiMapper
{
/**
* 查询客户统计报
*
* @param id 客户统计报主键
* @return 客户统计报
*/
public HtJczcKehutongji selectHtJczcKehutongjiById(Integer id);
/**
* 查询客户统计报列表
*
* @param htJczcKehutongji 客户统计报
* @return 客户统计报集合
*/
public List<HtJczcKehutongji> selectHtJczcKehutongjiList(HtJczcKehutongji htJczcKehutongji);
/**
* 新增客户统计报
*
* @param htJczcKehutongji 客户统计报
* @return 结果
*/
public int insertHtJczcKehutongji(HtJczcKehutongji htJczcKehutongji);
/**
* 修改客户统计报
*
* @param htJczcKehutongji 客户统计报
* @return 结果
*/
public int updateHtJczcKehutongji(HtJczcKehutongji htJczcKehutongji);
/**
* 删除客户统计报
*
* @param id 客户统计报主键
* @return 结果
*/
public int deleteHtJczcKehutongjiById(Integer id);
/**
* 批量删除客户统计报
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtJczcKehutongjiByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcKucuntongji;
/**
* 库存统计报Mapper接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface HtJczcKucuntongjiMapper
{
/**
* 查询库存统计报
*
* @param id 库存统计报主键
* @return 库存统计报
*/
public HtJczcKucuntongji selectHtJczcKucuntongjiById(Integer id);
/**
* 查询库存统计报列表
*
* @param htJczcKucuntongji 库存统计报
* @return 库存统计报集合
*/
public List<HtJczcKucuntongji> selectHtJczcKucuntongjiList(HtJczcKucuntongji htJczcKucuntongji);
/**
* 新增库存统计报
*
* @param htJczcKucuntongji 库存统计报
* @return 结果
*/
public int insertHtJczcKucuntongji(HtJczcKucuntongji htJczcKucuntongji);
/**
* 修改库存统计报
*
* @param htJczcKucuntongji 库存统计报
* @return 结果
*/
public int updateHtJczcKucuntongji(HtJczcKucuntongji htJczcKucuntongji);
/**
* 删除库存统计报
*
* @param id 库存统计报主键
* @return 结果
*/
public int deleteHtJczcKucuntongjiById(Integer id);
/**
* 批量删除库存统计报
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtJczcKucuntongjiByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcQipingtongji;
/**
* 气瓶统计报Mapper接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface HtJczcQipingtongjiMapper
{
/**
* 查询气瓶统计报
*
* @param id 气瓶统计报主键
* @return 气瓶统计报
*/
public HtJczcQipingtongji selectHtJczcQipingtongjiById(Integer id);
/**
* 查询气瓶统计报列表
*
* @param htJczcQipingtongji 气瓶统计报
* @return 气瓶统计报集合
*/
public List<HtJczcQipingtongji> selectHtJczcQipingtongjiList(HtJczcQipingtongji htJczcQipingtongji);
/**
* 新增气瓶统计报
*
* @param htJczcQipingtongji 气瓶统计报
* @return 结果
*/
public int insertHtJczcQipingtongji(HtJczcQipingtongji htJczcQipingtongji);
/**
* 修改气瓶统计报
*
* @param htJczcQipingtongji 气瓶统计报
* @return 结果
*/
public int updateHtJczcQipingtongji(HtJczcQipingtongji htJczcQipingtongji);
/**
* 删除气瓶统计报
*
* @param id 气瓶统计报主键
* @return 结果
*/
public int deleteHtJczcQipingtongjiById(Integer id);
/**
* 批量删除气瓶统计报
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtJczcQipingtongjiByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcXiaoshoutongji;
/**
* 销售统计报Mapper接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface HtJczcXiaoshoutongjiMapper
{
/**
* 查询销售统计报
*
* @param id 销售统计报主键
* @return 销售统计报
*/
public HtJczcXiaoshoutongji selectHtJczcXiaoshoutongjiById(Integer id);
/**
* 查询销售统计报列表
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 销售统计报集合
*/
public List<HtJczcXiaoshoutongji> selectHtJczcXiaoshoutongjiList(HtJczcXiaoshoutongji htJczcXiaoshoutongji);
/**
* 新增销售统计报
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 结果
*/
public int insertHtJczcXiaoshoutongji(HtJczcXiaoshoutongji htJczcXiaoshoutongji);
/**
* 修改销售统计报
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 结果
*/
public int updateHtJczcXiaoshoutongji(HtJczcXiaoshoutongji htJczcXiaoshoutongji);
/**
* 删除销售统计报
*
* @param id 销售统计报主键
* @return 结果
*/
public int deleteHtJczcXiaoshoutongjiById(Integer id);
/**
* 批量删除销售统计报
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtJczcXiaoshoutongjiByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtQingjia;
/**
* 请假Mapper接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface HtQingjiaMapper
{
/**
* 查询请假
*
* @param id 请假主键
* @return 请假
*/
public HtQingjia selectHtQingjiaById(Integer id);
/**
* 查询请假列表
*
* @param htQingjia 请假
* @return 请假集合
*/
public List<HtQingjia> selectHtQingjiaList(HtQingjia htQingjia);
/**
* 新增请假
*
* @param htQingjia 请假
* @return 结果
*/
public int insertHtQingjia(HtQingjia htQingjia);
/**
* 修改请假
*
* @param htQingjia 请假
* @return 结果
*/
public int updateHtQingjia(HtQingjia htQingjia);
/**
* 删除请假
*
* @param id 请假主键
* @return 结果
*/
public int deleteHtQingjiaById(Integer id);
/**
* 批量删除请假
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtQingjiaByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtWeipan;
/**
* 微盘管理Mapper接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface HtWeipanMapper
{
/**
* 查询微盘管理
*
* @param id 微盘管理主键
* @return 微盘管理
*/
public HtWeipan selectHtWeipanById(Long id);
/**
* 查询微盘管理列表
*
* @param htWeipan 微盘管理
* @return 微盘管理集合
*/
public List<HtWeipan> selectHtWeipanList(HtWeipan htWeipan);
/**
* 新增微盘管理
*
* @param htWeipan 微盘管理
* @return 结果
*/
public int insertHtWeipan(HtWeipan htWeipan);
/**
* 修改微盘管理
*
* @param htWeipan 微盘管理
* @return 结果
*/
public int updateHtWeipan(HtWeipan htWeipan);
/**
* 删除微盘管理
*
* @param id 微盘管理主键
* @return 结果
*/
public int deleteHtWeipanById(Long id);
/**
* 批量删除微盘管理
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtWeipanByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.mapper;
import java.util.List;
import com.ktg.mes.md.domain.HtZhiliangfenxi;
/**
* 数据统计与分析Mapper接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface HtZhiliangfenxiMapper
{
/**
* 查询数据统计与分析
*
* @param id 数据统计与分析主键
* @return 数据统计与分析
*/
public HtZhiliangfenxi selectHtZhiliangfenxiById(Integer id);
/**
* 查询数据统计与分析列表
*
* @param htZhiliangfenxi 数据统计与分析
* @return 数据统计与分析集合
*/
public List<HtZhiliangfenxi> selectHtZhiliangfenxiList(HtZhiliangfenxi htZhiliangfenxi);
/**
* 新增数据统计与分析
*
* @param htZhiliangfenxi 数据统计与分析
* @return 结果
*/
public int insertHtZhiliangfenxi(HtZhiliangfenxi htZhiliangfenxi);
/**
* 修改数据统计与分析
*
* @param htZhiliangfenxi 数据统计与分析
* @return 结果
*/
public int updateHtZhiliangfenxi(HtZhiliangfenxi htZhiliangfenxi);
/**
* 删除数据统计与分析
*
* @param id 数据统计与分析主键
* @return 结果
*/
public int deleteHtZhiliangfenxiById(Integer id);
/**
* 批量删除数据统计与分析
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteHtZhiliangfenxiByIds(Integer[] ids);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtBaoxiao;
/**
* 报销Service接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface IHtBaoxiaoService
{
/**
* 查询报销
*
* @param id 报销主键
* @return 报销
*/
public HtBaoxiao selectHtBaoxiaoById(Integer id);
/**
* 查询报销列表
*
* @param htBaoxiao 报销
* @return 报销集合
*/
public List<HtBaoxiao> selectHtBaoxiaoList(HtBaoxiao htBaoxiao);
/**
* 新增报销
*
* @param htBaoxiao 报销
* @return 结果
*/
public int insertHtBaoxiao(HtBaoxiao htBaoxiao);
/**
* 修改报销
*
* @param htBaoxiao 报销
* @return 结果
*/
public int updateHtBaoxiao(HtBaoxiao htBaoxiao);
/**
* 批量删除报销
*
* @param ids 需要删除的报销主键集合
* @return 结果
*/
public int deleteHtBaoxiaoByIds(Integer[] ids);
/**
* 删除报销信息
*
* @param id 报销主键
* @return 结果
*/
public int deleteHtBaoxiaoById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtGgl;
/**
* 公告栏Service接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface IHtGglService
{
/**
* 查询公告栏
*
* @param id 公告栏主键
* @return 公告栏
*/
public HtGgl selectHtGglById(Integer id);
/**
* 查询公告栏列表
*
* @param htGgl 公告栏
* @return 公告栏集合
*/
public List<HtGgl> selectHtGglList(HtGgl htGgl);
/**
* 新增公告栏
*
* @param htGgl 公告栏
* @return 结果
*/
public int insertHtGgl(HtGgl htGgl);
/**
* 修改公告栏
*
* @param htGgl 公告栏
* @return 结果
*/
public int updateHtGgl(HtGgl htGgl);
/**
* 批量删除公告栏
*
* @param ids 需要删除的公告栏主键集合
* @return 结果
*/
public int deleteHtGglByIds(Integer[] ids);
/**
* 删除公告栏信息
*
* @param id 公告栏主键
* @return 结果
*/
public int deleteHtGglById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtHetong;
/**
* 合同管理Service接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface IHtHetongService
{
/**
* 查询合同管理
*
* @param id 合同管理主键
* @return 合同管理
*/
public HtHetong selectHtHetongById(Integer id);
/**
* 查询合同管理列表
*
* @param htHetong 合同管理
* @return 合同管理集合
*/
public List<HtHetong> selectHtHetongList(HtHetong htHetong);
/**
* 新增合同管理
*
* @param htHetong 合同管理
* @return 结果
*/
public int insertHtHetong(HtHetong htHetong);
/**
* 修改合同管理
*
* @param htHetong 合同管理
* @return 结果
*/
public int updateHtHetong(HtHetong htHetong);
/**
* 批量删除合同管理
*
* @param ids 需要删除的合同管理主键集合
* @return 结果
*/
public int deleteHtHetongByIds(Integer[] ids);
/**
* 删除合同管理信息
*
* @param id 合同管理主键
* @return 结果
*/
public int deleteHtHetongById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcKehutongji;
/**
* 客户统计报Service接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface IHtJczcKehutongjiService
{
/**
* 查询客户统计报
*
* @param id 客户统计报主键
* @return 客户统计报
*/
public HtJczcKehutongji selectHtJczcKehutongjiById(Integer id);
/**
* 查询客户统计报列表
*
* @param htJczcKehutongji 客户统计报
* @return 客户统计报集合
*/
public List<HtJczcKehutongji> selectHtJczcKehutongjiList(HtJczcKehutongji htJczcKehutongji);
/**
* 新增客户统计报
*
* @param htJczcKehutongji 客户统计报
* @return 结果
*/
public int insertHtJczcKehutongji(HtJczcKehutongji htJczcKehutongji);
/**
* 修改客户统计报
*
* @param htJczcKehutongji 客户统计报
* @return 结果
*/
public int updateHtJczcKehutongji(HtJczcKehutongji htJczcKehutongji);
/**
* 批量删除客户统计报
*
* @param ids 需要删除的客户统计报主键集合
* @return 结果
*/
public int deleteHtJczcKehutongjiByIds(Integer[] ids);
/**
* 删除客户统计报信息
*
* @param id 客户统计报主键
* @return 结果
*/
public int deleteHtJczcKehutongjiById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcKucuntongji;
/**
* 库存统计报Service接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface IHtJczcKucuntongjiService
{
/**
* 查询库存统计报
*
* @param id 库存统计报主键
* @return 库存统计报
*/
public HtJczcKucuntongji selectHtJczcKucuntongjiById(Integer id);
/**
* 查询库存统计报列表
*
* @param htJczcKucuntongji 库存统计报
* @return 库存统计报集合
*/
public List<HtJczcKucuntongji> selectHtJczcKucuntongjiList(HtJczcKucuntongji htJczcKucuntongji);
/**
* 新增库存统计报
*
* @param htJczcKucuntongji 库存统计报
* @return 结果
*/
public int insertHtJczcKucuntongji(HtJczcKucuntongji htJczcKucuntongji);
/**
* 修改库存统计报
*
* @param htJczcKucuntongji 库存统计报
* @return 结果
*/
public int updateHtJczcKucuntongji(HtJczcKucuntongji htJczcKucuntongji);
/**
* 批量删除库存统计报
*
* @param ids 需要删除的库存统计报主键集合
* @return 结果
*/
public int deleteHtJczcKucuntongjiByIds(Integer[] ids);
/**
* 删除库存统计报信息
*
* @param id 库存统计报主键
* @return 结果
*/
public int deleteHtJczcKucuntongjiById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcQipingtongji;
/**
* 气瓶统计报Service接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface IHtJczcQipingtongjiService
{
/**
* 查询气瓶统计报
*
* @param id 气瓶统计报主键
* @return 气瓶统计报
*/
public HtJczcQipingtongji selectHtJczcQipingtongjiById(Integer id);
/**
* 查询气瓶统计报列表
*
* @param htJczcQipingtongji 气瓶统计报
* @return 气瓶统计报集合
*/
public List<HtJczcQipingtongji> selectHtJczcQipingtongjiList(HtJczcQipingtongji htJczcQipingtongji);
/**
* 新增气瓶统计报
*
* @param htJczcQipingtongji 气瓶统计报
* @return 结果
*/
public int insertHtJczcQipingtongji(HtJczcQipingtongji htJczcQipingtongji);
/**
* 修改气瓶统计报
*
* @param htJczcQipingtongji 气瓶统计报
* @return 结果
*/
public int updateHtJczcQipingtongji(HtJczcQipingtongji htJczcQipingtongji);
/**
* 批量删除气瓶统计报
*
* @param ids 需要删除的气瓶统计报主键集合
* @return 结果
*/
public int deleteHtJczcQipingtongjiByIds(Integer[] ids);
/**
* 删除气瓶统计报信息
*
* @param id 气瓶统计报主键
* @return 结果
*/
public int deleteHtJczcQipingtongjiById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtJczcXiaoshoutongji;
/**
* 销售统计报Service接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface IHtJczcXiaoshoutongjiService
{
/**
* 查询销售统计报
*
* @param id 销售统计报主键
* @return 销售统计报
*/
public HtJczcXiaoshoutongji selectHtJczcXiaoshoutongjiById(Integer id);
/**
* 查询销售统计报列表
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 销售统计报集合
*/
public List<HtJczcXiaoshoutongji> selectHtJczcXiaoshoutongjiList(HtJczcXiaoshoutongji htJczcXiaoshoutongji);
/**
* 新增销售统计报
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 结果
*/
public int insertHtJczcXiaoshoutongji(HtJczcXiaoshoutongji htJczcXiaoshoutongji);
/**
* 修改销售统计报
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 结果
*/
public int updateHtJczcXiaoshoutongji(HtJczcXiaoshoutongji htJczcXiaoshoutongji);
/**
* 批量删除销售统计报
*
* @param ids 需要删除的销售统计报主键集合
* @return 结果
*/
public int deleteHtJczcXiaoshoutongjiByIds(Integer[] ids);
/**
* 删除销售统计报信息
*
* @param id 销售统计报主键
* @return 结果
*/
public int deleteHtJczcXiaoshoutongjiById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtQingjia;
/**
* 请假Service接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface IHtQingjiaService
{
/**
* 查询请假
*
* @param id 请假主键
* @return 请假
*/
public HtQingjia selectHtQingjiaById(Integer id);
/**
* 查询请假列表
*
* @param htQingjia 请假
* @return 请假集合
*/
public List<HtQingjia> selectHtQingjiaList(HtQingjia htQingjia);
/**
* 新增请假
*
* @param htQingjia 请假
* @return 结果
*/
public int insertHtQingjia(HtQingjia htQingjia);
/**
* 修改请假
*
* @param htQingjia 请假
* @return 结果
*/
public int updateHtQingjia(HtQingjia htQingjia);
/**
* 批量删除请假
*
* @param ids 需要删除的请假主键集合
* @return 结果
*/
public int deleteHtQingjiaByIds(Integer[] ids);
/**
* 删除请假信息
*
* @param id 请假主键
* @return 结果
*/
public int deleteHtQingjiaById(Integer id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtWeipan;
/**
* 微盘管理Service接口
*
* @author yinjinlu
* @date 2025-02-20
*/
public interface IHtWeipanService
{
/**
* 查询微盘管理
*
* @param id 微盘管理主键
* @return 微盘管理
*/
public HtWeipan selectHtWeipanById(Long id);
/**
* 查询微盘管理列表
*
* @param htWeipan 微盘管理
* @return 微盘管理集合
*/
public List<HtWeipan> selectHtWeipanList(HtWeipan htWeipan);
/**
* 新增微盘管理
*
* @param htWeipan 微盘管理
* @return 结果
*/
public int insertHtWeipan(HtWeipan htWeipan);
/**
* 修改微盘管理
*
* @param htWeipan 微盘管理
* @return 结果
*/
public int updateHtWeipan(HtWeipan htWeipan);
/**
* 批量删除微盘管理
*
* @param ids 需要删除的微盘管理主键集合
* @return 结果
*/
public int deleteHtWeipanByIds(Long[] ids);
/**
* 删除微盘管理信息
*
* @param id 微盘管理主键
* @return 结果
*/
public int deleteHtWeipanById(Long id);
}

View File

@ -0,0 +1,61 @@
package com.ktg.mes.md.service;
import java.util.List;
import com.ktg.mes.md.domain.HtZhiliangfenxi;
/**
* 数据统计与分析Service接口
*
* @author yinjinlu
* @date 2025-02-21
*/
public interface IHtZhiliangfenxiService
{
/**
* 查询数据统计与分析
*
* @param id 数据统计与分析主键
* @return 数据统计与分析
*/
public HtZhiliangfenxi selectHtZhiliangfenxiById(Integer id);
/**
* 查询数据统计与分析列表
*
* @param htZhiliangfenxi 数据统计与分析
* @return 数据统计与分析集合
*/
public List<HtZhiliangfenxi> selectHtZhiliangfenxiList(HtZhiliangfenxi htZhiliangfenxi);
/**
* 新增数据统计与分析
*
* @param htZhiliangfenxi 数据统计与分析
* @return 结果
*/
public int insertHtZhiliangfenxi(HtZhiliangfenxi htZhiliangfenxi);
/**
* 修改数据统计与分析
*
* @param htZhiliangfenxi 数据统计与分析
* @return 结果
*/
public int updateHtZhiliangfenxi(HtZhiliangfenxi htZhiliangfenxi);
/**
* 批量删除数据统计与分析
*
* @param ids 需要删除的数据统计与分析主键集合
* @return 结果
*/
public int deleteHtZhiliangfenxiByIds(Integer[] ids);
/**
* 删除数据统计与分析信息
*
* @param id 数据统计与分析主键
* @return 结果
*/
public int deleteHtZhiliangfenxiById(Integer id);
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtBaoxiaoMapper;
import com.ktg.mes.md.domain.HtBaoxiao;
import com.ktg.mes.md.service.IHtBaoxiaoService;
/**
* 报销Service业务层处理
*
* @author yinjinlu
* @date 2025-02-20
*/
@Service
public class HtBaoxiaoServiceImpl implements IHtBaoxiaoService
{
@Autowired
private HtBaoxiaoMapper htBaoxiaoMapper;
/**
* 查询报销
*
* @param id 报销主键
* @return 报销
*/
@Override
public HtBaoxiao selectHtBaoxiaoById(Integer id)
{
return htBaoxiaoMapper.selectHtBaoxiaoById(id);
}
/**
* 查询报销列表
*
* @param htBaoxiao 报销
* @return 报销
*/
@Override
public List<HtBaoxiao> selectHtBaoxiaoList(HtBaoxiao htBaoxiao)
{
return htBaoxiaoMapper.selectHtBaoxiaoList(htBaoxiao);
}
/**
* 新增报销
*
* @param htBaoxiao 报销
* @return 结果
*/
@Override
public int insertHtBaoxiao(HtBaoxiao htBaoxiao)
{
return htBaoxiaoMapper.insertHtBaoxiao(htBaoxiao);
}
/**
* 修改报销
*
* @param htBaoxiao 报销
* @return 结果
*/
@Override
public int updateHtBaoxiao(HtBaoxiao htBaoxiao)
{
return htBaoxiaoMapper.updateHtBaoxiao(htBaoxiao);
}
/**
* 批量删除报销
*
* @param ids 需要删除的报销主键
* @return 结果
*/
@Override
public int deleteHtBaoxiaoByIds(Integer[] ids)
{
return htBaoxiaoMapper.deleteHtBaoxiaoByIds(ids);
}
/**
* 删除报销信息
*
* @param id 报销主键
* @return 结果
*/
@Override
public int deleteHtBaoxiaoById(Integer id)
{
return htBaoxiaoMapper.deleteHtBaoxiaoById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtGglMapper;
import com.ktg.mes.md.domain.HtGgl;
import com.ktg.mes.md.service.IHtGglService;
/**
* 公告栏Service业务层处理
*
* @author yinjinlu
* @date 2025-02-20
*/
@Service
public class HtGglServiceImpl implements IHtGglService
{
@Autowired
private HtGglMapper htGglMapper;
/**
* 查询公告栏
*
* @param id 公告栏主键
* @return 公告栏
*/
@Override
public HtGgl selectHtGglById(Integer id)
{
return htGglMapper.selectHtGglById(id);
}
/**
* 查询公告栏列表
*
* @param htGgl 公告栏
* @return 公告栏
*/
@Override
public List<HtGgl> selectHtGglList(HtGgl htGgl)
{
return htGglMapper.selectHtGglList(htGgl);
}
/**
* 新增公告栏
*
* @param htGgl 公告栏
* @return 结果
*/
@Override
public int insertHtGgl(HtGgl htGgl)
{
return htGglMapper.insertHtGgl(htGgl);
}
/**
* 修改公告栏
*
* @param htGgl 公告栏
* @return 结果
*/
@Override
public int updateHtGgl(HtGgl htGgl)
{
return htGglMapper.updateHtGgl(htGgl);
}
/**
* 批量删除公告栏
*
* @param ids 需要删除的公告栏主键
* @return 结果
*/
@Override
public int deleteHtGglByIds(Integer[] ids)
{
return htGglMapper.deleteHtGglByIds(ids);
}
/**
* 删除公告栏信息
*
* @param id 公告栏主键
* @return 结果
*/
@Override
public int deleteHtGglById(Integer id)
{
return htGglMapper.deleteHtGglById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtHetongMapper;
import com.ktg.mes.md.domain.HtHetong;
import com.ktg.mes.md.service.IHtHetongService;
/**
* 合同管理Service业务层处理
*
* @author yinjinlu
* @date 2025-02-20
*/
@Service
public class HtHetongServiceImpl implements IHtHetongService
{
@Autowired
private HtHetongMapper htHetongMapper;
/**
* 查询合同管理
*
* @param id 合同管理主键
* @return 合同管理
*/
@Override
public HtHetong selectHtHetongById(Integer id)
{
return htHetongMapper.selectHtHetongById(id);
}
/**
* 查询合同管理列表
*
* @param htHetong 合同管理
* @return 合同管理
*/
@Override
public List<HtHetong> selectHtHetongList(HtHetong htHetong)
{
return htHetongMapper.selectHtHetongList(htHetong);
}
/**
* 新增合同管理
*
* @param htHetong 合同管理
* @return 结果
*/
@Override
public int insertHtHetong(HtHetong htHetong)
{
return htHetongMapper.insertHtHetong(htHetong);
}
/**
* 修改合同管理
*
* @param htHetong 合同管理
* @return 结果
*/
@Override
public int updateHtHetong(HtHetong htHetong)
{
return htHetongMapper.updateHtHetong(htHetong);
}
/**
* 批量删除合同管理
*
* @param ids 需要删除的合同管理主键
* @return 结果
*/
@Override
public int deleteHtHetongByIds(Integer[] ids)
{
return htHetongMapper.deleteHtHetongByIds(ids);
}
/**
* 删除合同管理信息
*
* @param id 合同管理主键
* @return 结果
*/
@Override
public int deleteHtHetongById(Integer id)
{
return htHetongMapper.deleteHtHetongById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtJczcKehutongjiMapper;
import com.ktg.mes.md.domain.HtJczcKehutongji;
import com.ktg.mes.md.service.IHtJczcKehutongjiService;
/**
* 客户统计报Service业务层处理
*
* @author yinjinlu
* @date 2025-02-21
*/
@Service
public class HtJczcKehutongjiServiceImpl implements IHtJczcKehutongjiService
{
@Autowired
private HtJczcKehutongjiMapper htJczcKehutongjiMapper;
/**
* 查询客户统计报
*
* @param id 客户统计报主键
* @return 客户统计报
*/
@Override
public HtJczcKehutongji selectHtJczcKehutongjiById(Integer id)
{
return htJczcKehutongjiMapper.selectHtJczcKehutongjiById(id);
}
/**
* 查询客户统计报列表
*
* @param htJczcKehutongji 客户统计报
* @return 客户统计报
*/
@Override
public List<HtJczcKehutongji> selectHtJczcKehutongjiList(HtJczcKehutongji htJczcKehutongji)
{
return htJczcKehutongjiMapper.selectHtJczcKehutongjiList(htJczcKehutongji);
}
/**
* 新增客户统计报
*
* @param htJczcKehutongji 客户统计报
* @return 结果
*/
@Override
public int insertHtJczcKehutongji(HtJczcKehutongji htJczcKehutongji)
{
return htJczcKehutongjiMapper.insertHtJczcKehutongji(htJczcKehutongji);
}
/**
* 修改客户统计报
*
* @param htJczcKehutongji 客户统计报
* @return 结果
*/
@Override
public int updateHtJczcKehutongji(HtJczcKehutongji htJczcKehutongji)
{
return htJczcKehutongjiMapper.updateHtJczcKehutongji(htJczcKehutongji);
}
/**
* 批量删除客户统计报
*
* @param ids 需要删除的客户统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcKehutongjiByIds(Integer[] ids)
{
return htJczcKehutongjiMapper.deleteHtJczcKehutongjiByIds(ids);
}
/**
* 删除客户统计报信息
*
* @param id 客户统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcKehutongjiById(Integer id)
{
return htJczcKehutongjiMapper.deleteHtJczcKehutongjiById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtJczcKucuntongjiMapper;
import com.ktg.mes.md.domain.HtJczcKucuntongji;
import com.ktg.mes.md.service.IHtJczcKucuntongjiService;
/**
* 库存统计报Service业务层处理
*
* @author yinjinlu
* @date 2025-02-21
*/
@Service
public class HtJczcKucuntongjiServiceImpl implements IHtJczcKucuntongjiService
{
@Autowired
private HtJczcKucuntongjiMapper htJczcKucuntongjiMapper;
/**
* 查询库存统计报
*
* @param id 库存统计报主键
* @return 库存统计报
*/
@Override
public HtJczcKucuntongji selectHtJczcKucuntongjiById(Integer id)
{
return htJczcKucuntongjiMapper.selectHtJczcKucuntongjiById(id);
}
/**
* 查询库存统计报列表
*
* @param htJczcKucuntongji 库存统计报
* @return 库存统计报
*/
@Override
public List<HtJczcKucuntongji> selectHtJczcKucuntongjiList(HtJczcKucuntongji htJczcKucuntongji)
{
return htJczcKucuntongjiMapper.selectHtJczcKucuntongjiList(htJczcKucuntongji);
}
/**
* 新增库存统计报
*
* @param htJczcKucuntongji 库存统计报
* @return 结果
*/
@Override
public int insertHtJczcKucuntongji(HtJczcKucuntongji htJczcKucuntongji)
{
return htJczcKucuntongjiMapper.insertHtJczcKucuntongji(htJczcKucuntongji);
}
/**
* 修改库存统计报
*
* @param htJczcKucuntongji 库存统计报
* @return 结果
*/
@Override
public int updateHtJczcKucuntongji(HtJczcKucuntongji htJczcKucuntongji)
{
return htJczcKucuntongjiMapper.updateHtJczcKucuntongji(htJczcKucuntongji);
}
/**
* 批量删除库存统计报
*
* @param ids 需要删除的库存统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcKucuntongjiByIds(Integer[] ids)
{
return htJczcKucuntongjiMapper.deleteHtJczcKucuntongjiByIds(ids);
}
/**
* 删除库存统计报信息
*
* @param id 库存统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcKucuntongjiById(Integer id)
{
return htJczcKucuntongjiMapper.deleteHtJczcKucuntongjiById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtJczcQipingtongjiMapper;
import com.ktg.mes.md.domain.HtJczcQipingtongji;
import com.ktg.mes.md.service.IHtJczcQipingtongjiService;
/**
* 气瓶统计报Service业务层处理
*
* @author yinjinlu
* @date 2025-02-21
*/
@Service
public class HtJczcQipingtongjiServiceImpl implements IHtJczcQipingtongjiService
{
@Autowired
private HtJczcQipingtongjiMapper htJczcQipingtongjiMapper;
/**
* 查询气瓶统计报
*
* @param id 气瓶统计报主键
* @return 气瓶统计报
*/
@Override
public HtJczcQipingtongji selectHtJczcQipingtongjiById(Integer id)
{
return htJczcQipingtongjiMapper.selectHtJczcQipingtongjiById(id);
}
/**
* 查询气瓶统计报列表
*
* @param htJczcQipingtongji 气瓶统计报
* @return 气瓶统计报
*/
@Override
public List<HtJczcQipingtongji> selectHtJczcQipingtongjiList(HtJczcQipingtongji htJczcQipingtongji)
{
return htJczcQipingtongjiMapper.selectHtJczcQipingtongjiList(htJczcQipingtongji);
}
/**
* 新增气瓶统计报
*
* @param htJczcQipingtongji 气瓶统计报
* @return 结果
*/
@Override
public int insertHtJczcQipingtongji(HtJczcQipingtongji htJczcQipingtongji)
{
return htJczcQipingtongjiMapper.insertHtJczcQipingtongji(htJczcQipingtongji);
}
/**
* 修改气瓶统计报
*
* @param htJczcQipingtongji 气瓶统计报
* @return 结果
*/
@Override
public int updateHtJczcQipingtongji(HtJczcQipingtongji htJczcQipingtongji)
{
return htJczcQipingtongjiMapper.updateHtJczcQipingtongji(htJczcQipingtongji);
}
/**
* 批量删除气瓶统计报
*
* @param ids 需要删除的气瓶统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcQipingtongjiByIds(Integer[] ids)
{
return htJczcQipingtongjiMapper.deleteHtJczcQipingtongjiByIds(ids);
}
/**
* 删除气瓶统计报信息
*
* @param id 气瓶统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcQipingtongjiById(Integer id)
{
return htJczcQipingtongjiMapper.deleteHtJczcQipingtongjiById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtJczcXiaoshoutongjiMapper;
import com.ktg.mes.md.domain.HtJczcXiaoshoutongji;
import com.ktg.mes.md.service.IHtJczcXiaoshoutongjiService;
/**
* 销售统计报Service业务层处理
*
* @author yinjinlu
* @date 2025-02-21
*/
@Service
public class HtJczcXiaoshoutongjiServiceImpl implements IHtJczcXiaoshoutongjiService
{
@Autowired
private HtJczcXiaoshoutongjiMapper htJczcXiaoshoutongjiMapper;
/**
* 查询销售统计报
*
* @param id 销售统计报主键
* @return 销售统计报
*/
@Override
public HtJczcXiaoshoutongji selectHtJczcXiaoshoutongjiById(Integer id)
{
return htJczcXiaoshoutongjiMapper.selectHtJczcXiaoshoutongjiById(id);
}
/**
* 查询销售统计报列表
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 销售统计报
*/
@Override
public List<HtJczcXiaoshoutongji> selectHtJczcXiaoshoutongjiList(HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
return htJczcXiaoshoutongjiMapper.selectHtJczcXiaoshoutongjiList(htJczcXiaoshoutongji);
}
/**
* 新增销售统计报
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 结果
*/
@Override
public int insertHtJczcXiaoshoutongji(HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
return htJczcXiaoshoutongjiMapper.insertHtJczcXiaoshoutongji(htJczcXiaoshoutongji);
}
/**
* 修改销售统计报
*
* @param htJczcXiaoshoutongji 销售统计报
* @return 结果
*/
@Override
public int updateHtJczcXiaoshoutongji(HtJczcXiaoshoutongji htJczcXiaoshoutongji)
{
return htJczcXiaoshoutongjiMapper.updateHtJczcXiaoshoutongji(htJczcXiaoshoutongji);
}
/**
* 批量删除销售统计报
*
* @param ids 需要删除的销售统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcXiaoshoutongjiByIds(Integer[] ids)
{
return htJczcXiaoshoutongjiMapper.deleteHtJczcXiaoshoutongjiByIds(ids);
}
/**
* 删除销售统计报信息
*
* @param id 销售统计报主键
* @return 结果
*/
@Override
public int deleteHtJczcXiaoshoutongjiById(Integer id)
{
return htJczcXiaoshoutongjiMapper.deleteHtJczcXiaoshoutongjiById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtQingjiaMapper;
import com.ktg.mes.md.domain.HtQingjia;
import com.ktg.mes.md.service.IHtQingjiaService;
/**
* 请假Service业务层处理
*
* @author yinjinlu
* @date 2025-02-20
*/
@Service
public class HtQingjiaServiceImpl implements IHtQingjiaService
{
@Autowired
private HtQingjiaMapper htQingjiaMapper;
/**
* 查询请假
*
* @param id 请假主键
* @return 请假
*/
@Override
public HtQingjia selectHtQingjiaById(Integer id)
{
return htQingjiaMapper.selectHtQingjiaById(id);
}
/**
* 查询请假列表
*
* @param htQingjia 请假
* @return 请假
*/
@Override
public List<HtQingjia> selectHtQingjiaList(HtQingjia htQingjia)
{
return htQingjiaMapper.selectHtQingjiaList(htQingjia);
}
/**
* 新增请假
*
* @param htQingjia 请假
* @return 结果
*/
@Override
public int insertHtQingjia(HtQingjia htQingjia)
{
return htQingjiaMapper.insertHtQingjia(htQingjia);
}
/**
* 修改请假
*
* @param htQingjia 请假
* @return 结果
*/
@Override
public int updateHtQingjia(HtQingjia htQingjia)
{
return htQingjiaMapper.updateHtQingjia(htQingjia);
}
/**
* 批量删除请假
*
* @param ids 需要删除的请假主键
* @return 结果
*/
@Override
public int deleteHtQingjiaByIds(Integer[] ids)
{
return htQingjiaMapper.deleteHtQingjiaByIds(ids);
}
/**
* 删除请假信息
*
* @param id 请假主键
* @return 结果
*/
@Override
public int deleteHtQingjiaById(Integer id)
{
return htQingjiaMapper.deleteHtQingjiaById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtWeipanMapper;
import com.ktg.mes.md.domain.HtWeipan;
import com.ktg.mes.md.service.IHtWeipanService;
/**
* 微盘管理Service业务层处理
*
* @author yinjinlu
* @date 2025-02-20
*/
@Service
public class HtWeipanServiceImpl implements IHtWeipanService
{
@Autowired
private HtWeipanMapper htWeipanMapper;
/**
* 查询微盘管理
*
* @param id 微盘管理主键
* @return 微盘管理
*/
@Override
public HtWeipan selectHtWeipanById(Long id)
{
return htWeipanMapper.selectHtWeipanById(id);
}
/**
* 查询微盘管理列表
*
* @param htWeipan 微盘管理
* @return 微盘管理
*/
@Override
public List<HtWeipan> selectHtWeipanList(HtWeipan htWeipan)
{
return htWeipanMapper.selectHtWeipanList(htWeipan);
}
/**
* 新增微盘管理
*
* @param htWeipan 微盘管理
* @return 结果
*/
@Override
public int insertHtWeipan(HtWeipan htWeipan)
{
return htWeipanMapper.insertHtWeipan(htWeipan);
}
/**
* 修改微盘管理
*
* @param htWeipan 微盘管理
* @return 结果
*/
@Override
public int updateHtWeipan(HtWeipan htWeipan)
{
return htWeipanMapper.updateHtWeipan(htWeipan);
}
/**
* 批量删除微盘管理
*
* @param ids 需要删除的微盘管理主键
* @return 结果
*/
@Override
public int deleteHtWeipanByIds(Long[] ids)
{
return htWeipanMapper.deleteHtWeipanByIds(ids);
}
/**
* 删除微盘管理信息
*
* @param id 微盘管理主键
* @return 结果
*/
@Override
public int deleteHtWeipanById(Long id)
{
return htWeipanMapper.deleteHtWeipanById(id);
}
}

View File

@ -0,0 +1,93 @@
package com.ktg.mes.md.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktg.mes.md.mapper.HtZhiliangfenxiMapper;
import com.ktg.mes.md.domain.HtZhiliangfenxi;
import com.ktg.mes.md.service.IHtZhiliangfenxiService;
/**
* 数据统计与分析Service业务层处理
*
* @author yinjinlu
* @date 2025-02-21
*/
@Service
public class HtZhiliangfenxiServiceImpl implements IHtZhiliangfenxiService
{
@Autowired
private HtZhiliangfenxiMapper htZhiliangfenxiMapper;
/**
* 查询数据统计与分析
*
* @param id 数据统计与分析主键
* @return 数据统计与分析
*/
@Override
public HtZhiliangfenxi selectHtZhiliangfenxiById(Integer id)
{
return htZhiliangfenxiMapper.selectHtZhiliangfenxiById(id);
}
/**
* 查询数据统计与分析列表
*
* @param htZhiliangfenxi 数据统计与分析
* @return 数据统计与分析
*/
@Override
public List<HtZhiliangfenxi> selectHtZhiliangfenxiList(HtZhiliangfenxi htZhiliangfenxi)
{
return htZhiliangfenxiMapper.selectHtZhiliangfenxiList(htZhiliangfenxi);
}
/**
* 新增数据统计与分析
*
* @param htZhiliangfenxi 数据统计与分析
* @return 结果
*/
@Override
public int insertHtZhiliangfenxi(HtZhiliangfenxi htZhiliangfenxi)
{
return htZhiliangfenxiMapper.insertHtZhiliangfenxi(htZhiliangfenxi);
}
/**
* 修改数据统计与分析
*
* @param htZhiliangfenxi 数据统计与分析
* @return 结果
*/
@Override
public int updateHtZhiliangfenxi(HtZhiliangfenxi htZhiliangfenxi)
{
return htZhiliangfenxiMapper.updateHtZhiliangfenxi(htZhiliangfenxi);
}
/**
* 批量删除数据统计与分析
*
* @param ids 需要删除的数据统计与分析主键
* @return 结果
*/
@Override
public int deleteHtZhiliangfenxiByIds(Integer[] ids)
{
return htZhiliangfenxiMapper.deleteHtZhiliangfenxiByIds(ids);
}
/**
* 删除数据统计与分析信息
*
* @param id 数据统计与分析主键
* @return 结果
*/
@Override
public int deleteHtZhiliangfenxiById(Integer id)
{
return htZhiliangfenxiMapper.deleteHtZhiliangfenxiById(id);
}
}

View File

@ -0,0 +1,73 @@
<?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.ktg.mes.md.mapper.HtBaoxiaoMapper">
<resultMap type="HtBaoxiao" id="HtBaoxiaoResult">
<result property="id" column="id" />
<result property="leixing" column="leixing" />
<result property="yuanyin" column="yuanyin" />
<result property="jine" column="jine" />
<result property="shijian" column="shijian" />
</resultMap>
<sql id="selectHtBaoxiaoVo">
select id, leixing, yuanyin, jine, shijian from ht_baoxiao
</sql>
<select id="selectHtBaoxiaoList" parameterType="HtBaoxiao" resultMap="HtBaoxiaoResult">
<include refid="selectHtBaoxiaoVo"/>
<where>
<if test="leixing != null and leixing != ''"> and leixing = #{leixing}</if>
<if test="yuanyin != null and yuanyin != ''"> and yuanyin = #{yuanyin}</if>
<if test="jine != null "> and jine = #{jine}</if>
<if test="shijian != null "> and shijian = #{shijian}</if>
</where>
</select>
<select id="selectHtBaoxiaoById" parameterType="Integer" resultMap="HtBaoxiaoResult">
<include refid="selectHtBaoxiaoVo"/>
where id = #{id}
</select>
<insert id="insertHtBaoxiao" parameterType="HtBaoxiao">
insert into ht_baoxiao
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
<if test="leixing != null">leixing,</if>
<if test="yuanyin != null">yuanyin,</if>
<if test="jine != null">jine,</if>
<if test="shijian != null">shijian,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="leixing != null">#{leixing},</if>
<if test="yuanyin != null">#{yuanyin},</if>
<if test="jine != null">#{jine},</if>
<if test="shijian != null">#{shijian},</if>
</trim>
</insert>
<update id="updateHtBaoxiao" parameterType="HtBaoxiao">
update ht_baoxiao
<trim prefix="SET" suffixOverrides=",">
<if test="leixing != null">leixing = #{leixing},</if>
<if test="yuanyin != null">yuanyin = #{yuanyin},</if>
<if test="jine != null">jine = #{jine},</if>
<if test="shijian != null">shijian = #{shijian},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtBaoxiaoById" parameterType="Integer">
delete from ht_baoxiao where id = #{id}
</delete>
<delete id="deleteHtBaoxiaoByIds" parameterType="String">
delete from ht_baoxiao where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,66 @@
<?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.ktg.mes.md.mapper.HtGglMapper">
<resultMap type="HtGgl" id="HtGglResult">
<result property="id" column="id" />
<result property="biaoti" column="biaoti" />
<result property="shijian" column="shijian" />
<result property="neirong" column="neirong" />
</resultMap>
<sql id="selectHtGglVo">
select id, biaoti, shijian, neirong from ht_ggl
</sql>
<select id="selectHtGglList" parameterType="HtGgl" resultMap="HtGglResult">
<include refid="selectHtGglVo"/>
<where>
<if test="biaoti != null and biaoti != ''"> and biaoti = #{biaoti}</if>
<if test="shijian != null "> and shijian = #{shijian}</if>
<if test="neirong != null and neirong != ''"> and neirong = #{neirong}</if>
</where>
</select>
<select id="selectHtGglById" parameterType="Integer" resultMap="HtGglResult">
<include refid="selectHtGglVo"/>
where id = #{id}
</select>
<insert id="insertHtGgl" parameterType="HtGgl" useGeneratedKeys="true" keyProperty="id">
insert into ht_ggl
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="biaoti != null">biaoti,</if>
<if test="shijian != null">shijian,</if>
<if test="neirong != null">neirong,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="biaoti != null">#{biaoti},</if>
<if test="shijian != null">#{shijian},</if>
<if test="neirong != null">#{neirong},</if>
</trim>
</insert>
<update id="updateHtGgl" parameterType="HtGgl">
update ht_ggl
<trim prefix="SET" suffixOverrides=",">
<if test="biaoti != null">biaoti = #{biaoti},</if>
<if test="shijian != null">shijian = #{shijian},</if>
<if test="neirong != null">neirong = #{neirong},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtGglById" parameterType="Integer">
delete from ht_ggl where id = #{id}
</delete>
<delete id="deleteHtGglByIds" parameterType="String">
delete from ht_ggl where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,76 @@
<?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.ktg.mes.md.mapper.HtHetongMapper">
<resultMap type="HtHetong" id="HtHetongResult">
<result property="id" column="id" />
<result property="bianhao" column="bianhao" />
<result property="mingcheng" column="mingcheng" />
<result property="jine" column="jine" />
<result property="shijian" column="shijian" />
<result property="neirong" column="neirong" />
</resultMap>
<sql id="selectHtHetongVo">
select id, bianhao, mingcheng, jine, shijian, neirong from ht_hetong
</sql>
<select id="selectHtHetongList" parameterType="HtHetong" resultMap="HtHetongResult">
<include refid="selectHtHetongVo"/>
<where>
<if test="bianhao != null and bianhao != ''"> and bianhao = #{bianhao}</if>
<if test="mingcheng != null and mingcheng != ''"> and mingcheng = #{mingcheng}</if>
<if test="jine != null "> and jine = #{jine}</if>
<if test="shijian != null "> and shijian = #{shijian}</if>
<if test="neirong != null and neirong != ''"> and neirong = #{neirong}</if>
</where>
</select>
<select id="selectHtHetongById" parameterType="Integer" resultMap="HtHetongResult">
<include refid="selectHtHetongVo"/>
where id = #{id}
</select>
<insert id="insertHtHetong" parameterType="HtHetong" useGeneratedKeys="true" keyProperty="id">
insert into ht_hetong
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="bianhao != null">bianhao,</if>
<if test="mingcheng != null">mingcheng,</if>
<if test="jine != null">jine,</if>
<if test="shijian != null">shijian,</if>
<if test="neirong != null">neirong,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="bianhao != null">#{bianhao},</if>
<if test="mingcheng != null">#{mingcheng},</if>
<if test="jine != null">#{jine},</if>
<if test="shijian != null">#{shijian},</if>
<if test="neirong != null">#{neirong},</if>
</trim>
</insert>
<update id="updateHtHetong" parameterType="HtHetong">
update ht_hetong
<trim prefix="SET" suffixOverrides=",">
<if test="bianhao != null">bianhao = #{bianhao},</if>
<if test="mingcheng != null">mingcheng = #{mingcheng},</if>
<if test="jine != null">jine = #{jine},</if>
<if test="shijian != null">shijian = #{shijian},</if>
<if test="neirong != null">neirong = #{neirong},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtHetongById" parameterType="Integer">
delete from ht_hetong where id = #{id}
</delete>
<delete id="deleteHtHetongByIds" parameterType="String">
delete from ht_hetong where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,171 @@
<?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.ktg.mes.md.mapper.HtJczcKehutongjiMapper">
<resultMap type="HtJczcKehutongji" id="HtJczcKehutongjiResult">
<result property="id" column="id" />
<result property="customerName" column="customer_name" />
<result property="customerType" column="customer_type" />
<result property="contactName" column="contact_name" />
<result property="contactPhone" column="contact_phone" />
<result property="region" column="region" />
<result property="totalSales" column="total_sales" />
<result property="totalQuantity" column="total_quantity" />
<result property="averageUnitPrice" column="average_unit_price" />
<result property="largestOrder" column="largest_order" />
<result property="averageOrderValue" column="average_order_value" />
<result property="directSales" column="direct_sales" />
<result property="agentSales" column="agent_sales" />
<result property="onlineSales" column="online_sales" />
<result property="gasSales" column="gas_sales" />
<result property="equipmentSales" column="equipment_sales" />
<result property="serviceSales" column="service_sales" />
<result property="firstOrderDate" column="first_order_date" />
<result property="lastOrderDate" column="last_order_date" />
<result property="totalOrders" column="total_orders" />
<result property="repeatPurchaseRate" column="repeat_purchase_rate" />
<result property="totalPayments" column="total_payments" />
<result property="totalRefunds" column="total_refunds" />
<result property="outstandingBalance" column="outstanding_balance" />
<result property="statisticPeriod" column="statistic_period" />
</resultMap>
<sql id="selectHtJczcKehutongjiVo">
select id, customer_name, customer_type, contact_name, contact_phone, region, total_sales, total_quantity, average_unit_price, largest_order, average_order_value, direct_sales, agent_sales, online_sales, gas_sales, equipment_sales, service_sales, first_order_date, last_order_date, total_orders, repeat_purchase_rate, total_payments, total_refunds, outstanding_balance, statistic_period from ht_jczc_kehutongji
</sql>
<select id="selectHtJczcKehutongjiList" parameterType="HtJczcKehutongji" resultMap="HtJczcKehutongjiResult">
<include refid="selectHtJczcKehutongjiVo"/>
<where>
<if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
<if test="customerType != null and customerType != ''"> and customer_type = #{customerType}</if>
<if test="contactName != null and contactName != ''"> and contact_name like concat('%', #{contactName}, '%')</if>
<if test="contactPhone != null and contactPhone != ''"> and contact_phone = #{contactPhone}</if>
<if test="region != null and region != ''"> and region = #{region}</if>
<if test="totalSales != null "> and total_sales = #{totalSales}</if>
<if test="totalQuantity != null "> and total_quantity = #{totalQuantity}</if>
<if test="averageUnitPrice != null "> and average_unit_price = #{averageUnitPrice}</if>
<if test="largestOrder != null "> and largest_order = #{largestOrder}</if>
<if test="averageOrderValue != null "> and average_order_value = #{averageOrderValue}</if>
<if test="directSales != null "> and direct_sales = #{directSales}</if>
<if test="agentSales != null "> and agent_sales = #{agentSales}</if>
<if test="onlineSales != null "> and online_sales = #{onlineSales}</if>
<if test="gasSales != null "> and gas_sales = #{gasSales}</if>
<if test="equipmentSales != null "> and equipment_sales = #{equipmentSales}</if>
<if test="serviceSales != null "> and service_sales = #{serviceSales}</if>
<if test="firstOrderDate != null "> and first_order_date = #{firstOrderDate}</if>
<if test="lastOrderDate != null "> and last_order_date = #{lastOrderDate}</if>
<if test="totalOrders != null "> and total_orders = #{totalOrders}</if>
<if test="repeatPurchaseRate != null "> and repeat_purchase_rate = #{repeatPurchaseRate}</if>
<if test="totalPayments != null "> and total_payments = #{totalPayments}</if>
<if test="totalRefunds != null "> and total_refunds = #{totalRefunds}</if>
<if test="outstandingBalance != null "> and outstanding_balance = #{outstandingBalance}</if>
<if test="statisticPeriod != null "> and statistic_period = #{statisticPeriod}</if>
</where>
</select>
<select id="selectHtJczcKehutongjiById" parameterType="Integer" resultMap="HtJczcKehutongjiResult">
<include refid="selectHtJczcKehutongjiVo"/>
where id = #{id}
</select>
<insert id="insertHtJczcKehutongji" parameterType="HtJczcKehutongji" useGeneratedKeys="true" keyProperty="id">
insert into ht_jczc_kehutongji
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="customerName != null and customerName != ''">customer_name,</if>
<if test="customerType != null and customerType != ''">customer_type,</if>
<if test="contactName != null">contact_name,</if>
<if test="contactPhone != null">contact_phone,</if>
<if test="region != null">region,</if>
<if test="totalSales != null">total_sales,</if>
<if test="totalQuantity != null">total_quantity,</if>
<if test="averageUnitPrice != null">average_unit_price,</if>
<if test="largestOrder != null">largest_order,</if>
<if test="averageOrderValue != null">average_order_value,</if>
<if test="directSales != null">direct_sales,</if>
<if test="agentSales != null">agent_sales,</if>
<if test="onlineSales != null">online_sales,</if>
<if test="gasSales != null">gas_sales,</if>
<if test="equipmentSales != null">equipment_sales,</if>
<if test="serviceSales != null">service_sales,</if>
<if test="firstOrderDate != null">first_order_date,</if>
<if test="lastOrderDate != null">last_order_date,</if>
<if test="totalOrders != null">total_orders,</if>
<if test="repeatPurchaseRate != null">repeat_purchase_rate,</if>
<if test="totalPayments != null">total_payments,</if>
<if test="totalRefunds != null">total_refunds,</if>
<if test="outstandingBalance != null">outstanding_balance,</if>
<if test="statisticPeriod != null">statistic_period,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="customerName != null and customerName != ''">#{customerName},</if>
<if test="customerType != null and customerType != ''">#{customerType},</if>
<if test="contactName != null">#{contactName},</if>
<if test="contactPhone != null">#{contactPhone},</if>
<if test="region != null">#{region},</if>
<if test="totalSales != null">#{totalSales},</if>
<if test="totalQuantity != null">#{totalQuantity},</if>
<if test="averageUnitPrice != null">#{averageUnitPrice},</if>
<if test="largestOrder != null">#{largestOrder},</if>
<if test="averageOrderValue != null">#{averageOrderValue},</if>
<if test="directSales != null">#{directSales},</if>
<if test="agentSales != null">#{agentSales},</if>
<if test="onlineSales != null">#{onlineSales},</if>
<if test="gasSales != null">#{gasSales},</if>
<if test="equipmentSales != null">#{equipmentSales},</if>
<if test="serviceSales != null">#{serviceSales},</if>
<if test="firstOrderDate != null">#{firstOrderDate},</if>
<if test="lastOrderDate != null">#{lastOrderDate},</if>
<if test="totalOrders != null">#{totalOrders},</if>
<if test="repeatPurchaseRate != null">#{repeatPurchaseRate},</if>
<if test="totalPayments != null">#{totalPayments},</if>
<if test="totalRefunds != null">#{totalRefunds},</if>
<if test="outstandingBalance != null">#{outstandingBalance},</if>
<if test="statisticPeriod != null">#{statisticPeriod},</if>
</trim>
</insert>
<update id="updateHtJczcKehutongji" parameterType="HtJczcKehutongji">
update ht_jczc_kehutongji
<trim prefix="SET" suffixOverrides=",">
<if test="customerName != null and customerName != ''">customer_name = #{customerName},</if>
<if test="customerType != null and customerType != ''">customer_type = #{customerType},</if>
<if test="contactName != null">contact_name = #{contactName},</if>
<if test="contactPhone != null">contact_phone = #{contactPhone},</if>
<if test="region != null">region = #{region},</if>
<if test="totalSales != null">total_sales = #{totalSales},</if>
<if test="totalQuantity != null">total_quantity = #{totalQuantity},</if>
<if test="averageUnitPrice != null">average_unit_price = #{averageUnitPrice},</if>
<if test="largestOrder != null">largest_order = #{largestOrder},</if>
<if test="averageOrderValue != null">average_order_value = #{averageOrderValue},</if>
<if test="directSales != null">direct_sales = #{directSales},</if>
<if test="agentSales != null">agent_sales = #{agentSales},</if>
<if test="onlineSales != null">online_sales = #{onlineSales},</if>
<if test="gasSales != null">gas_sales = #{gasSales},</if>
<if test="equipmentSales != null">equipment_sales = #{equipmentSales},</if>
<if test="serviceSales != null">service_sales = #{serviceSales},</if>
<if test="firstOrderDate != null">first_order_date = #{firstOrderDate},</if>
<if test="lastOrderDate != null">last_order_date = #{lastOrderDate},</if>
<if test="totalOrders != null">total_orders = #{totalOrders},</if>
<if test="repeatPurchaseRate != null">repeat_purchase_rate = #{repeatPurchaseRate},</if>
<if test="totalPayments != null">total_payments = #{totalPayments},</if>
<if test="totalRefunds != null">total_refunds = #{totalRefunds},</if>
<if test="outstandingBalance != null">outstanding_balance = #{outstandingBalance},</if>
<if test="statisticPeriod != null">statistic_period = #{statisticPeriod},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtJczcKehutongjiById" parameterType="Integer">
delete from ht_jczc_kehutongji where id = #{id}
</delete>
<delete id="deleteHtJczcKehutongjiByIds" parameterType="String">
delete from ht_jczc_kehutongji where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,166 @@
<?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.ktg.mes.md.mapper.HtJczcKucuntongjiMapper">
<resultMap type="HtJczcKucuntongji" id="HtJczcKucuntongjiResult">
<result property="id" column="id" />
<result property="statisticDate" column="statistic_date" />
<result property="totalInventoryValue" column="total_inventory_value" />
<result property="totalQuantity" column="total_quantity" />
<result property="rawMaterialValue" column="raw_material_value" />
<result property="rawMaterialQuantity" column="raw_material_quantity" />
<result property="rawMaterialTurnoverRate" column="raw_material_turnover_rate" />
<result property="finishedGoodsValue" column="finished_goods_value" />
<result property="finishedGoodsQuantity" column="finished_goods_quantity" />
<result property="finishedGoodsTurnoverRate" column="finished_goods_turnover_rate" />
<result property="oxygenValue" column="oxygen_value" />
<result property="oxygenQuantity" column="oxygen_quantity" />
<result property="nitrogenValue" column="nitrogen_value" />
<result property="nitrogenQuantity" column="nitrogen_quantity" />
<result property="argonValue" column="argon_value" />
<result property="argonQuantity" column="argon_quantity" />
<result property="overallTurnoverRate" column="overall_turnover_rate" />
<result property="daysInventoryOutstanding" column="days_inventory_outstanding" />
<result property="lowStockItems" column="low_stock_items" />
<result property="outOfStockItems" column="out_of_stock_items" />
<result property="excessStockItems" column="excess_stock_items" />
<result property="region" column="region" />
<result property="warehouse" column="warehouse" />
<result property="year" column="year" />
</resultMap>
<sql id="selectHtJczcKucuntongjiVo">
select id, statistic_date, total_inventory_value, total_quantity, raw_material_value, raw_material_quantity, raw_material_turnover_rate, finished_goods_value, finished_goods_quantity, finished_goods_turnover_rate, oxygen_value, oxygen_quantity, nitrogen_value, nitrogen_quantity, argon_value, argon_quantity, overall_turnover_rate, days_inventory_outstanding, low_stock_items, out_of_stock_items, excess_stock_items, region, warehouse, year from ht_jczc_kucuntongji
</sql>
<select id="selectHtJczcKucuntongjiList" parameterType="HtJczcKucuntongji" resultMap="HtJczcKucuntongjiResult">
<include refid="selectHtJczcKucuntongjiVo"/>
<where>
<if test="statisticDate != null "> and statistic_date = #{statisticDate}</if>
<if test="totalInventoryValue != null "> and total_inventory_value = #{totalInventoryValue}</if>
<if test="totalQuantity != null "> and total_quantity = #{totalQuantity}</if>
<if test="rawMaterialValue != null "> and raw_material_value = #{rawMaterialValue}</if>
<if test="rawMaterialQuantity != null "> and raw_material_quantity = #{rawMaterialQuantity}</if>
<if test="rawMaterialTurnoverRate != null "> and raw_material_turnover_rate = #{rawMaterialTurnoverRate}</if>
<if test="finishedGoodsValue != null "> and finished_goods_value = #{finishedGoodsValue}</if>
<if test="finishedGoodsQuantity != null "> and finished_goods_quantity = #{finishedGoodsQuantity}</if>
<if test="finishedGoodsTurnoverRate != null "> and finished_goods_turnover_rate = #{finishedGoodsTurnoverRate}</if>
<if test="oxygenValue != null "> and oxygen_value = #{oxygenValue}</if>
<if test="oxygenQuantity != null "> and oxygen_quantity = #{oxygenQuantity}</if>
<if test="nitrogenValue != null "> and nitrogen_value = #{nitrogenValue}</if>
<if test="nitrogenQuantity != null "> and nitrogen_quantity = #{nitrogenQuantity}</if>
<if test="argonValue != null "> and argon_value = #{argonValue}</if>
<if test="argonQuantity != null "> and argon_quantity = #{argonQuantity}</if>
<if test="overallTurnoverRate != null "> and overall_turnover_rate = #{overallTurnoverRate}</if>
<if test="daysInventoryOutstanding != null "> and days_inventory_outstanding = #{daysInventoryOutstanding}</if>
<if test="lowStockItems != null "> and low_stock_items = #{lowStockItems}</if>
<if test="outOfStockItems != null "> and out_of_stock_items = #{outOfStockItems}</if>
<if test="excessStockItems != null "> and excess_stock_items = #{excessStockItems}</if>
<if test="region != null and region != ''"> and region = #{region}</if>
<if test="warehouse != null and warehouse != ''"> and warehouse = #{warehouse}</if>
<if test="year != null "> and year = #{year}</if>
</where>
</select>
<select id="selectHtJczcKucuntongjiById" parameterType="Integer" resultMap="HtJczcKucuntongjiResult">
<include refid="selectHtJczcKucuntongjiVo"/>
where id = #{id}
</select>
<insert id="insertHtJczcKucuntongji" parameterType="HtJczcKucuntongji" useGeneratedKeys="true" keyProperty="id">
insert into ht_jczc_kucuntongji
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">statistic_date,</if>
<if test="totalInventoryValue != null">total_inventory_value,</if>
<if test="totalQuantity != null">total_quantity,</if>
<if test="rawMaterialValue != null">raw_material_value,</if>
<if test="rawMaterialQuantity != null">raw_material_quantity,</if>
<if test="rawMaterialTurnoverRate != null">raw_material_turnover_rate,</if>
<if test="finishedGoodsValue != null">finished_goods_value,</if>
<if test="finishedGoodsQuantity != null">finished_goods_quantity,</if>
<if test="finishedGoodsTurnoverRate != null">finished_goods_turnover_rate,</if>
<if test="oxygenValue != null">oxygen_value,</if>
<if test="oxygenQuantity != null">oxygen_quantity,</if>
<if test="nitrogenValue != null">nitrogen_value,</if>
<if test="nitrogenQuantity != null">nitrogen_quantity,</if>
<if test="argonValue != null">argon_value,</if>
<if test="argonQuantity != null">argon_quantity,</if>
<if test="overallTurnoverRate != null">overall_turnover_rate,</if>
<if test="daysInventoryOutstanding != null">days_inventory_outstanding,</if>
<if test="lowStockItems != null">low_stock_items,</if>
<if test="outOfStockItems != null">out_of_stock_items,</if>
<if test="excessStockItems != null">excess_stock_items,</if>
<if test="region != null">region,</if>
<if test="warehouse != null">warehouse,</if>
<if test="year != null">year,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">#{statisticDate},</if>
<if test="totalInventoryValue != null">#{totalInventoryValue},</if>
<if test="totalQuantity != null">#{totalQuantity},</if>
<if test="rawMaterialValue != null">#{rawMaterialValue},</if>
<if test="rawMaterialQuantity != null">#{rawMaterialQuantity},</if>
<if test="rawMaterialTurnoverRate != null">#{rawMaterialTurnoverRate},</if>
<if test="finishedGoodsValue != null">#{finishedGoodsValue},</if>
<if test="finishedGoodsQuantity != null">#{finishedGoodsQuantity},</if>
<if test="finishedGoodsTurnoverRate != null">#{finishedGoodsTurnoverRate},</if>
<if test="oxygenValue != null">#{oxygenValue},</if>
<if test="oxygenQuantity != null">#{oxygenQuantity},</if>
<if test="nitrogenValue != null">#{nitrogenValue},</if>
<if test="nitrogenQuantity != null">#{nitrogenQuantity},</if>
<if test="argonValue != null">#{argonValue},</if>
<if test="argonQuantity != null">#{argonQuantity},</if>
<if test="overallTurnoverRate != null">#{overallTurnoverRate},</if>
<if test="daysInventoryOutstanding != null">#{daysInventoryOutstanding},</if>
<if test="lowStockItems != null">#{lowStockItems},</if>
<if test="outOfStockItems != null">#{outOfStockItems},</if>
<if test="excessStockItems != null">#{excessStockItems},</if>
<if test="region != null">#{region},</if>
<if test="warehouse != null">#{warehouse},</if>
<if test="year != null">#{year},</if>
</trim>
</insert>
<update id="updateHtJczcKucuntongji" parameterType="HtJczcKucuntongji">
update ht_jczc_kucuntongji
<trim prefix="SET" suffixOverrides=",">
<if test="statisticDate != null">statistic_date = #{statisticDate},</if>
<if test="totalInventoryValue != null">total_inventory_value = #{totalInventoryValue},</if>
<if test="totalQuantity != null">total_quantity = #{totalQuantity},</if>
<if test="rawMaterialValue != null">raw_material_value = #{rawMaterialValue},</if>
<if test="rawMaterialQuantity != null">raw_material_quantity = #{rawMaterialQuantity},</if>
<if test="rawMaterialTurnoverRate != null">raw_material_turnover_rate = #{rawMaterialTurnoverRate},</if>
<if test="finishedGoodsValue != null">finished_goods_value = #{finishedGoodsValue},</if>
<if test="finishedGoodsQuantity != null">finished_goods_quantity = #{finishedGoodsQuantity},</if>
<if test="finishedGoodsTurnoverRate != null">finished_goods_turnover_rate = #{finishedGoodsTurnoverRate},</if>
<if test="oxygenValue != null">oxygen_value = #{oxygenValue},</if>
<if test="oxygenQuantity != null">oxygen_quantity = #{oxygenQuantity},</if>
<if test="nitrogenValue != null">nitrogen_value = #{nitrogenValue},</if>
<if test="nitrogenQuantity != null">nitrogen_quantity = #{nitrogenQuantity},</if>
<if test="argonValue != null">argon_value = #{argonValue},</if>
<if test="argonQuantity != null">argon_quantity = #{argonQuantity},</if>
<if test="overallTurnoverRate != null">overall_turnover_rate = #{overallTurnoverRate},</if>
<if test="daysInventoryOutstanding != null">days_inventory_outstanding = #{daysInventoryOutstanding},</if>
<if test="lowStockItems != null">low_stock_items = #{lowStockItems},</if>
<if test="outOfStockItems != null">out_of_stock_items = #{outOfStockItems},</if>
<if test="excessStockItems != null">excess_stock_items = #{excessStockItems},</if>
<if test="region != null">region = #{region},</if>
<if test="warehouse != null">warehouse = #{warehouse},</if>
<if test="year != null">year = #{year},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtJczcKucuntongjiById" parameterType="Integer">
delete from ht_jczc_kucuntongji where id = #{id}
</delete>
<delete id="deleteHtJczcKucuntongjiByIds" parameterType="String">
delete from ht_jczc_kucuntongji where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,156 @@
<?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.ktg.mes.md.mapper.HtJczcQipingtongjiMapper">
<resultMap type="HtJczcQipingtongji" id="HtJczcQipingtongjiResult">
<result property="id" column="id" />
<result property="statisticDate" column="statistic_date" />
<result property="companyStock" column="company_stock" />
<result property="customerOwing" column="customer_owing" />
<result property="newlyPurchased" column="newly_purchased" />
<result property="sold" column="sold" />
<result property="scrapped" column="scrapped" />
<result property="totalCylinders" column="total_cylinders" />
<result property="inStock" column="in_stock" />
<result property="inUse" column="in_use" />
<result property="inMaintenance" column="in_maintenance" />
<result property="awaitingScrap" column="awaiting_scrap" />
<result property="oxygenCylinders" column="oxygen_cylinders" />
<result property="nitrogenCylinders" column="nitrogen_cylinders" />
<result property="argonCylinders" column="argon_cylinders" />
<result property="otherCylinders" column="other_cylinders" />
<result property="cylindersRented" column="cylinders_rented" />
<result property="cylindersReturned" column="cylinders_returned" />
<result property="cylindersLost" column="cylinders_lost" />
<result property="region" column="region" />
<result property="warehouse" column="warehouse" />
<result property="year" column="year" />
</resultMap>
<sql id="selectHtJczcQipingtongjiVo">
select id, statistic_date, company_stock, customer_owing, newly_purchased, sold, scrapped, total_cylinders, in_stock, in_use, in_maintenance, awaiting_scrap, oxygen_cylinders, nitrogen_cylinders, argon_cylinders, other_cylinders, cylinders_rented, cylinders_returned, cylinders_lost, region, warehouse, year from ht_jczc_qipingtongji
</sql>
<select id="selectHtJczcQipingtongjiList" parameterType="HtJczcQipingtongji" resultMap="HtJczcQipingtongjiResult">
<include refid="selectHtJczcQipingtongjiVo"/>
<where>
<if test="statisticDate != null "> and statistic_date = #{statisticDate}</if>
<if test="companyStock != null "> and company_stock = #{companyStock}</if>
<if test="customerOwing != null "> and customer_owing = #{customerOwing}</if>
<if test="newlyPurchased != null "> and newly_purchased = #{newlyPurchased}</if>
<if test="sold != null "> and sold = #{sold}</if>
<if test="scrapped != null "> and scrapped = #{scrapped}</if>
<if test="totalCylinders != null "> and total_cylinders = #{totalCylinders}</if>
<if test="inStock != null "> and in_stock = #{inStock}</if>
<if test="inUse != null "> and in_use = #{inUse}</if>
<if test="inMaintenance != null "> and in_maintenance = #{inMaintenance}</if>
<if test="awaitingScrap != null "> and awaiting_scrap = #{awaitingScrap}</if>
<if test="oxygenCylinders != null "> and oxygen_cylinders = #{oxygenCylinders}</if>
<if test="nitrogenCylinders != null "> and nitrogen_cylinders = #{nitrogenCylinders}</if>
<if test="argonCylinders != null "> and argon_cylinders = #{argonCylinders}</if>
<if test="otherCylinders != null "> and other_cylinders = #{otherCylinders}</if>
<if test="cylindersRented != null "> and cylinders_rented = #{cylindersRented}</if>
<if test="cylindersReturned != null "> and cylinders_returned = #{cylindersReturned}</if>
<if test="cylindersLost != null "> and cylinders_lost = #{cylindersLost}</if>
<if test="region != null and region != ''"> and region = #{region}</if>
<if test="warehouse != null and warehouse != ''"> and warehouse = #{warehouse}</if>
<if test="year != null "> and year = #{year}</if>
</where>
</select>
<select id="selectHtJczcQipingtongjiById" parameterType="Integer" resultMap="HtJczcQipingtongjiResult">
<include refid="selectHtJczcQipingtongjiVo"/>
where id = #{id}
</select>
<insert id="insertHtJczcQipingtongji" parameterType="HtJczcQipingtongji" useGeneratedKeys="true" keyProperty="id">
insert into ht_jczc_qipingtongji
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">statistic_date,</if>
<if test="companyStock != null">company_stock,</if>
<if test="customerOwing != null">customer_owing,</if>
<if test="newlyPurchased != null">newly_purchased,</if>
<if test="sold != null">sold,</if>
<if test="scrapped != null">scrapped,</if>
<if test="totalCylinders != null">total_cylinders,</if>
<if test="inStock != null">in_stock,</if>
<if test="inUse != null">in_use,</if>
<if test="inMaintenance != null">in_maintenance,</if>
<if test="awaitingScrap != null">awaiting_scrap,</if>
<if test="oxygenCylinders != null">oxygen_cylinders,</if>
<if test="nitrogenCylinders != null">nitrogen_cylinders,</if>
<if test="argonCylinders != null">argon_cylinders,</if>
<if test="otherCylinders != null">other_cylinders,</if>
<if test="cylindersRented != null">cylinders_rented,</if>
<if test="cylindersReturned != null">cylinders_returned,</if>
<if test="cylindersLost != null">cylinders_lost,</if>
<if test="region != null">region,</if>
<if test="warehouse != null">warehouse,</if>
<if test="year != null">year,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">#{statisticDate},</if>
<if test="companyStock != null">#{companyStock},</if>
<if test="customerOwing != null">#{customerOwing},</if>
<if test="newlyPurchased != null">#{newlyPurchased},</if>
<if test="sold != null">#{sold},</if>
<if test="scrapped != null">#{scrapped},</if>
<if test="totalCylinders != null">#{totalCylinders},</if>
<if test="inStock != null">#{inStock},</if>
<if test="inUse != null">#{inUse},</if>
<if test="inMaintenance != null">#{inMaintenance},</if>
<if test="awaitingScrap != null">#{awaitingScrap},</if>
<if test="oxygenCylinders != null">#{oxygenCylinders},</if>
<if test="nitrogenCylinders != null">#{nitrogenCylinders},</if>
<if test="argonCylinders != null">#{argonCylinders},</if>
<if test="otherCylinders != null">#{otherCylinders},</if>
<if test="cylindersRented != null">#{cylindersRented},</if>
<if test="cylindersReturned != null">#{cylindersReturned},</if>
<if test="cylindersLost != null">#{cylindersLost},</if>
<if test="region != null">#{region},</if>
<if test="warehouse != null">#{warehouse},</if>
<if test="year != null">#{year},</if>
</trim>
</insert>
<update id="updateHtJczcQipingtongji" parameterType="HtJczcQipingtongji">
update ht_jczc_qipingtongji
<trim prefix="SET" suffixOverrides=",">
<if test="statisticDate != null">statistic_date = #{statisticDate},</if>
<if test="companyStock != null">company_stock = #{companyStock},</if>
<if test="customerOwing != null">customer_owing = #{customerOwing},</if>
<if test="newlyPurchased != null">newly_purchased = #{newlyPurchased},</if>
<if test="sold != null">sold = #{sold},</if>
<if test="scrapped != null">scrapped = #{scrapped},</if>
<if test="totalCylinders != null">total_cylinders = #{totalCylinders},</if>
<if test="inStock != null">in_stock = #{inStock},</if>
<if test="inUse != null">in_use = #{inUse},</if>
<if test="inMaintenance != null">in_maintenance = #{inMaintenance},</if>
<if test="awaitingScrap != null">awaiting_scrap = #{awaitingScrap},</if>
<if test="oxygenCylinders != null">oxygen_cylinders = #{oxygenCylinders},</if>
<if test="nitrogenCylinders != null">nitrogen_cylinders = #{nitrogenCylinders},</if>
<if test="argonCylinders != null">argon_cylinders = #{argonCylinders},</if>
<if test="otherCylinders != null">other_cylinders = #{otherCylinders},</if>
<if test="cylindersRented != null">cylinders_rented = #{cylindersRented},</if>
<if test="cylindersReturned != null">cylinders_returned = #{cylindersReturned},</if>
<if test="cylindersLost != null">cylinders_lost = #{cylindersLost},</if>
<if test="region != null">region = #{region},</if>
<if test="warehouse != null">warehouse = #{warehouse},</if>
<if test="year != null">year = #{year},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtJczcQipingtongjiById" parameterType="Integer">
delete from ht_jczc_qipingtongji where id = #{id}
</delete>
<delete id="deleteHtJczcQipingtongjiByIds" parameterType="String">
delete from ht_jczc_qipingtongji where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,161 @@
<?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.ktg.mes.md.mapper.HtJczcXiaoshoutongjiMapper">
<resultMap type="HtJczcXiaoshoutongji" id="HtJczcXiaoshoutongjiResult">
<result property="id" column="id" />
<result property="statisticDate" column="statistic_date" />
<result property="totalSales" column="total_sales" />
<result property="totalQuantity" column="total_quantity" />
<result property="averageUnitPrice" column="average_unit_price" />
<result property="industrialSales" column="industrial_sales" />
<result property="medicalSales" column="medical_sales" />
<result property="retailSales" column="retail_sales" />
<result property="otherSales" column="other_sales" />
<result property="directSales" column="direct_sales" />
<result property="agentSales" column="agent_sales" />
<result property="onlineSales" column="online_sales" />
<result property="gasSales" column="gas_sales" />
<result property="equipmentSales" column="equipment_sales" />
<result property="serviceSales" column="service_sales" />
<result property="newCustomers" column="new_customers" />
<result property="repeatCustomers" column="repeat_customers" />
<result property="largestOrder" column="largest_order" />
<result property="averageOrderValue" column="average_order_value" />
<result property="refundAmount" column="refund_amount" />
<result property="netSales" column="net_sales" />
<result property="season" column="season" />
<result property="year" column="year" />
</resultMap>
<sql id="selectHtJczcXiaoshoutongjiVo">
select id, statistic_date, total_sales, total_quantity, average_unit_price, industrial_sales, medical_sales, retail_sales, other_sales, direct_sales, agent_sales, online_sales, gas_sales, equipment_sales, service_sales, new_customers, repeat_customers, largest_order, average_order_value, refund_amount, net_sales, season, year from ht_jczc_xiaoshoutongji
</sql>
<select id="selectHtJczcXiaoshoutongjiList" parameterType="HtJczcXiaoshoutongji" resultMap="HtJczcXiaoshoutongjiResult">
<include refid="selectHtJczcXiaoshoutongjiVo"/>
<where>
<if test="statisticDate != null "> and statistic_date = #{statisticDate}</if>
<if test="totalSales != null "> and total_sales = #{totalSales}</if>
<if test="totalQuantity != null "> and total_quantity = #{totalQuantity}</if>
<if test="averageUnitPrice != null "> and average_unit_price = #{averageUnitPrice}</if>
<if test="industrialSales != null "> and industrial_sales = #{industrialSales}</if>
<if test="medicalSales != null "> and medical_sales = #{medicalSales}</if>
<if test="retailSales != null "> and retail_sales = #{retailSales}</if>
<if test="otherSales != null "> and other_sales = #{otherSales}</if>
<if test="directSales != null "> and direct_sales = #{directSales}</if>
<if test="agentSales != null "> and agent_sales = #{agentSales}</if>
<if test="onlineSales != null "> and online_sales = #{onlineSales}</if>
<if test="gasSales != null "> and gas_sales = #{gasSales}</if>
<if test="equipmentSales != null "> and equipment_sales = #{equipmentSales}</if>
<if test="serviceSales != null "> and service_sales = #{serviceSales}</if>
<if test="newCustomers != null "> and new_customers = #{newCustomers}</if>
<if test="repeatCustomers != null "> and repeat_customers = #{repeatCustomers}</if>
<if test="largestOrder != null "> and largest_order = #{largestOrder}</if>
<if test="averageOrderValue != null "> and average_order_value = #{averageOrderValue}</if>
<if test="refundAmount != null "> and refund_amount = #{refundAmount}</if>
<if test="netSales != null "> and net_sales = #{netSales}</if>
<if test="season != null and season != ''"> and season = #{season}</if>
<if test="year != null "> and year = #{year}</if>
</where>
</select>
<select id="selectHtJczcXiaoshoutongjiById" parameterType="Integer" resultMap="HtJczcXiaoshoutongjiResult">
<include refid="selectHtJczcXiaoshoutongjiVo"/>
where id = #{id}
</select>
<insert id="insertHtJczcXiaoshoutongji" parameterType="HtJczcXiaoshoutongji" useGeneratedKeys="true" keyProperty="id">
insert into ht_jczc_xiaoshoutongji
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">statistic_date,</if>
<if test="totalSales != null">total_sales,</if>
<if test="totalQuantity != null">total_quantity,</if>
<if test="averageUnitPrice != null">average_unit_price,</if>
<if test="industrialSales != null">industrial_sales,</if>
<if test="medicalSales != null">medical_sales,</if>
<if test="retailSales != null">retail_sales,</if>
<if test="otherSales != null">other_sales,</if>
<if test="directSales != null">direct_sales,</if>
<if test="agentSales != null">agent_sales,</if>
<if test="onlineSales != null">online_sales,</if>
<if test="gasSales != null">gas_sales,</if>
<if test="equipmentSales != null">equipment_sales,</if>
<if test="serviceSales != null">service_sales,</if>
<if test="newCustomers != null">new_customers,</if>
<if test="repeatCustomers != null">repeat_customers,</if>
<if test="largestOrder != null">largest_order,</if>
<if test="averageOrderValue != null">average_order_value,</if>
<if test="refundAmount != null">refund_amount,</if>
<if test="netSales != null">net_sales,</if>
<if test="season != null">season,</if>
<if test="year != null">year,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">#{statisticDate},</if>
<if test="totalSales != null">#{totalSales},</if>
<if test="totalQuantity != null">#{totalQuantity},</if>
<if test="averageUnitPrice != null">#{averageUnitPrice},</if>
<if test="industrialSales != null">#{industrialSales},</if>
<if test="medicalSales != null">#{medicalSales},</if>
<if test="retailSales != null">#{retailSales},</if>
<if test="otherSales != null">#{otherSales},</if>
<if test="directSales != null">#{directSales},</if>
<if test="agentSales != null">#{agentSales},</if>
<if test="onlineSales != null">#{onlineSales},</if>
<if test="gasSales != null">#{gasSales},</if>
<if test="equipmentSales != null">#{equipmentSales},</if>
<if test="serviceSales != null">#{serviceSales},</if>
<if test="newCustomers != null">#{newCustomers},</if>
<if test="repeatCustomers != null">#{repeatCustomers},</if>
<if test="largestOrder != null">#{largestOrder},</if>
<if test="averageOrderValue != null">#{averageOrderValue},</if>
<if test="refundAmount != null">#{refundAmount},</if>
<if test="netSales != null">#{netSales},</if>
<if test="season != null">#{season},</if>
<if test="year != null">#{year},</if>
</trim>
</insert>
<update id="updateHtJczcXiaoshoutongji" parameterType="HtJczcXiaoshoutongji">
update ht_jczc_xiaoshoutongji
<trim prefix="SET" suffixOverrides=",">
<if test="statisticDate != null">statistic_date = #{statisticDate},</if>
<if test="totalSales != null">total_sales = #{totalSales},</if>
<if test="totalQuantity != null">total_quantity = #{totalQuantity},</if>
<if test="averageUnitPrice != null">average_unit_price = #{averageUnitPrice},</if>
<if test="industrialSales != null">industrial_sales = #{industrialSales},</if>
<if test="medicalSales != null">medical_sales = #{medicalSales},</if>
<if test="retailSales != null">retail_sales = #{retailSales},</if>
<if test="otherSales != null">other_sales = #{otherSales},</if>
<if test="directSales != null">direct_sales = #{directSales},</if>
<if test="agentSales != null">agent_sales = #{agentSales},</if>
<if test="onlineSales != null">online_sales = #{onlineSales},</if>
<if test="gasSales != null">gas_sales = #{gasSales},</if>
<if test="equipmentSales != null">equipment_sales = #{equipmentSales},</if>
<if test="serviceSales != null">service_sales = #{serviceSales},</if>
<if test="newCustomers != null">new_customers = #{newCustomers},</if>
<if test="repeatCustomers != null">repeat_customers = #{repeatCustomers},</if>
<if test="largestOrder != null">largest_order = #{largestOrder},</if>
<if test="averageOrderValue != null">average_order_value = #{averageOrderValue},</if>
<if test="refundAmount != null">refund_amount = #{refundAmount},</if>
<if test="netSales != null">net_sales = #{netSales},</if>
<if test="season != null">season = #{season},</if>
<if test="year != null">year = #{year},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtJczcXiaoshoutongjiById" parameterType="Integer">
delete from ht_jczc_xiaoshoutongji where id = #{id}
</delete>
<delete id="deleteHtJczcXiaoshoutongjiByIds" parameterType="String">
delete from ht_jczc_xiaoshoutongji where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,71 @@
<?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.ktg.mes.md.mapper.HtQingjiaMapper">
<resultMap type="HtQingjia" id="HtQingjiaResult">
<result property="id" column="id" />
<result property="leixing" column="leixing" />
<result property="kaishi" column="kaishi" />
<result property="jieshu" column="jieshu" />
<result property="yuanyin" column="yuanyin" />
</resultMap>
<sql id="selectHtQingjiaVo">
select id, leixing, kaishi, jieshu, yuanyin from ht_qingjia
</sql>
<select id="selectHtQingjiaList" parameterType="HtQingjia" resultMap="HtQingjiaResult">
<include refid="selectHtQingjiaVo"/>
<where>
<if test="leixing != null and leixing != ''"> and leixing = #{leixing}</if>
<if test="kaishi != null "> and kaishi = #{kaishi}</if>
<if test="jieshu != null "> and jieshu = #{jieshu}</if>
<if test="yuanyin != null and yuanyin != ''"> and yuanyin = #{yuanyin}</if>
</where>
</select>
<select id="selectHtQingjiaById" parameterType="Integer" resultMap="HtQingjiaResult">
<include refid="selectHtQingjiaVo"/>
where id = #{id}
</select>
<insert id="insertHtQingjia" parameterType="HtQingjia" useGeneratedKeys="true" keyProperty="id">
insert into ht_qingjia
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="leixing != null">leixing,</if>
<if test="kaishi != null">kaishi,</if>
<if test="jieshu != null">jieshu,</if>
<if test="yuanyin != null">yuanyin,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="leixing != null">#{leixing},</if>
<if test="kaishi != null">#{kaishi},</if>
<if test="jieshu != null">#{jieshu},</if>
<if test="yuanyin != null">#{yuanyin},</if>
</trim>
</insert>
<update id="updateHtQingjia" parameterType="HtQingjia">
update ht_qingjia
<trim prefix="SET" suffixOverrides=",">
<if test="leixing != null">leixing = #{leixing},</if>
<if test="kaishi != null">kaishi = #{kaishi},</if>
<if test="jieshu != null">jieshu = #{jieshu},</if>
<if test="yuanyin != null">yuanyin = #{yuanyin},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtQingjiaById" parameterType="Integer">
delete from ht_qingjia where id = #{id}
</delete>
<delete id="deleteHtQingjiaByIds" parameterType="String">
delete from ht_qingjia where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,71 @@
<?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.ktg.mes.md.mapper.HtWeipanMapper">
<resultMap type="HtWeipan" id="HtWeipanResult">
<result property="id" column="id" />
<result property="shangchuanren" column="shangchuanren" />
<result property="shijian" column="shijian" />
<result property="leixing" column="leixing" />
<result property="wenjian" column="wenjian" />
</resultMap>
<sql id="selectHtWeipanVo">
select id, shangchuanren, shijian, leixing, wenjian from ht_weipan
</sql>
<select id="selectHtWeipanList" parameterType="HtWeipan" resultMap="HtWeipanResult">
<include refid="selectHtWeipanVo"/>
<where>
<if test="shangchuanren != null and shangchuanren != ''"> and shangchuanren = #{shangchuanren}</if>
<if test="shijian != null "> and shijian = #{shijian}</if>
<if test="leixing != null and leixing != ''"> and leixing = #{leixing}</if>
<if test="wenjian != null and wenjian != ''"> and wenjian = #{wenjian}</if>
</where>
</select>
<select id="selectHtWeipanById" parameterType="Long" resultMap="HtWeipanResult">
<include refid="selectHtWeipanVo"/>
where id = #{id}
</select>
<insert id="insertHtWeipan" parameterType="HtWeipan" useGeneratedKeys="true" keyProperty="id">
insert into ht_weipan
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="shangchuanren != null">shangchuanren,</if>
<if test="shijian != null">shijian,</if>
<if test="leixing != null">leixing,</if>
<if test="wenjian != null">wenjian,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="shangchuanren != null">#{shangchuanren},</if>
<if test="shijian != null">#{shijian},</if>
<if test="leixing != null">#{leixing},</if>
<if test="wenjian != null">#{wenjian},</if>
</trim>
</insert>
<update id="updateHtWeipan" parameterType="HtWeipan">
update ht_weipan
<trim prefix="SET" suffixOverrides=",">
<if test="shangchuanren != null">shangchuanren = #{shangchuanren},</if>
<if test="shijian != null">shijian = #{shijian},</if>
<if test="leixing != null">leixing = #{leixing},</if>
<if test="wenjian != null">wenjian = #{wenjian},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtWeipanById" parameterType="Long">
delete from ht_weipan where id = #{id}
</delete>
<delete id="deleteHtWeipanByIds" parameterType="String">
delete from ht_weipan where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,156 @@
<?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.ktg.mes.md.mapper.HtZhiliangfenxiMapper">
<resultMap type="HtZhiliangfenxi" id="HtZhiliangfenxiResult">
<result property="id" column="id" />
<result property="statisticDate" column="statistic_date" />
<result property="totalSamples" column="total_samples" />
<result property="passedSamples" column="passed_samples" />
<result property="failedSamples" column="failed_samples" />
<result property="passRate" column="pass_rate" />
<result property="impurityFailures" column="impurity_failures" />
<result property="pressureFailures" column="pressure_failures" />
<result property="leakageFailures" column="leakage_failures" />
<result property="labelingFailures" column="labeling_failures" />
<result property="otherFailures" column="other_failures" />
<result property="oxygenPassRate" column="oxygen_pass_rate" />
<result property="nitrogenPassRate" column="nitrogen_pass_rate" />
<result property="argonPassRate" column="argon_pass_rate" />
<result property="otherGasesPassRate" column="other_gases_pass_rate" />
<result property="testingEquipment" column="testing_equipment" />
<result property="testingPersonnel" column="testing_personnel" />
<result property="region" column="region" />
<result property="productionLine" column="production_line" />
<result property="year" column="year" />
<result property="correctiveActions" column="corrective_actions" />
<result property="preventiveActions" column="preventive_actions" />
</resultMap>
<sql id="selectHtZhiliangfenxiVo">
select id, statistic_date, total_samples, passed_samples, failed_samples, pass_rate, impurity_failures, pressure_failures, leakage_failures, labeling_failures, other_failures, oxygen_pass_rate, nitrogen_pass_rate, argon_pass_rate, other_gases_pass_rate, testing_equipment, testing_personnel, region, production_line, year, corrective_actions, preventive_actions from ht_zhiliangfenxi
</sql>
<select id="selectHtZhiliangfenxiList" parameterType="HtZhiliangfenxi" resultMap="HtZhiliangfenxiResult">
<include refid="selectHtZhiliangfenxiVo"/>
<where>
<if test="statisticDate != null "> and statistic_date = #{statisticDate}</if>
<if test="totalSamples != null "> and total_samples = #{totalSamples}</if>
<if test="passedSamples != null "> and passed_samples = #{passedSamples}</if>
<if test="failedSamples != null "> and failed_samples = #{failedSamples}</if>
<if test="passRate != null "> and pass_rate = #{passRate}</if>
<if test="impurityFailures != null "> and impurity_failures = #{impurityFailures}</if>
<if test="pressureFailures != null "> and pressure_failures = #{pressureFailures}</if>
<if test="leakageFailures != null "> and leakage_failures = #{leakageFailures}</if>
<if test="labelingFailures != null "> and labeling_failures = #{labelingFailures}</if>
<if test="otherFailures != null "> and other_failures = #{otherFailures}</if>
<if test="oxygenPassRate != null "> and oxygen_pass_rate = #{oxygenPassRate}</if>
<if test="nitrogenPassRate != null "> and nitrogen_pass_rate = #{nitrogenPassRate}</if>
<if test="argonPassRate != null "> and argon_pass_rate = #{argonPassRate}</if>
<if test="otherGasesPassRate != null "> and other_gases_pass_rate = #{otherGasesPassRate}</if>
<if test="testingEquipment != null and testingEquipment != ''"> and testing_equipment = #{testingEquipment}</if>
<if test="testingPersonnel != null and testingPersonnel != ''"> and testing_personnel = #{testingPersonnel}</if>
<if test="region != null and region != ''"> and region = #{region}</if>
<if test="productionLine != null and productionLine != ''"> and production_line = #{productionLine}</if>
<if test="year != null "> and year = #{year}</if>
<if test="correctiveActions != null and correctiveActions != ''"> and corrective_actions = #{correctiveActions}</if>
<if test="preventiveActions != null and preventiveActions != ''"> and preventive_actions = #{preventiveActions}</if>
</where>
</select>
<select id="selectHtZhiliangfenxiById" parameterType="Integer" resultMap="HtZhiliangfenxiResult">
<include refid="selectHtZhiliangfenxiVo"/>
where id = #{id}
</select>
<insert id="insertHtZhiliangfenxi" parameterType="HtZhiliangfenxi" useGeneratedKeys="true" keyProperty="id">
insert into ht_zhiliangfenxi
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">statistic_date,</if>
<if test="totalSamples != null">total_samples,</if>
<if test="passedSamples != null">passed_samples,</if>
<if test="failedSamples != null">failed_samples,</if>
<if test="passRate != null">pass_rate,</if>
<if test="impurityFailures != null">impurity_failures,</if>
<if test="pressureFailures != null">pressure_failures,</if>
<if test="leakageFailures != null">leakage_failures,</if>
<if test="labelingFailures != null">labeling_failures,</if>
<if test="otherFailures != null">other_failures,</if>
<if test="oxygenPassRate != null">oxygen_pass_rate,</if>
<if test="nitrogenPassRate != null">nitrogen_pass_rate,</if>
<if test="argonPassRate != null">argon_pass_rate,</if>
<if test="otherGasesPassRate != null">other_gases_pass_rate,</if>
<if test="testingEquipment != null">testing_equipment,</if>
<if test="testingPersonnel != null">testing_personnel,</if>
<if test="region != null">region,</if>
<if test="productionLine != null">production_line,</if>
<if test="year != null">year,</if>
<if test="correctiveActions != null">corrective_actions,</if>
<if test="preventiveActions != null">preventive_actions,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="statisticDate != null">#{statisticDate},</if>
<if test="totalSamples != null">#{totalSamples},</if>
<if test="passedSamples != null">#{passedSamples},</if>
<if test="failedSamples != null">#{failedSamples},</if>
<if test="passRate != null">#{passRate},</if>
<if test="impurityFailures != null">#{impurityFailures},</if>
<if test="pressureFailures != null">#{pressureFailures},</if>
<if test="leakageFailures != null">#{leakageFailures},</if>
<if test="labelingFailures != null">#{labelingFailures},</if>
<if test="otherFailures != null">#{otherFailures},</if>
<if test="oxygenPassRate != null">#{oxygenPassRate},</if>
<if test="nitrogenPassRate != null">#{nitrogenPassRate},</if>
<if test="argonPassRate != null">#{argonPassRate},</if>
<if test="otherGasesPassRate != null">#{otherGasesPassRate},</if>
<if test="testingEquipment != null">#{testingEquipment},</if>
<if test="testingPersonnel != null">#{testingPersonnel},</if>
<if test="region != null">#{region},</if>
<if test="productionLine != null">#{productionLine},</if>
<if test="year != null">#{year},</if>
<if test="correctiveActions != null">#{correctiveActions},</if>
<if test="preventiveActions != null">#{preventiveActions},</if>
</trim>
</insert>
<update id="updateHtZhiliangfenxi" parameterType="HtZhiliangfenxi">
update ht_zhiliangfenxi
<trim prefix="SET" suffixOverrides=",">
<if test="statisticDate != null">statistic_date = #{statisticDate},</if>
<if test="totalSamples != null">total_samples = #{totalSamples},</if>
<if test="passedSamples != null">passed_samples = #{passedSamples},</if>
<if test="failedSamples != null">failed_samples = #{failedSamples},</if>
<if test="passRate != null">pass_rate = #{passRate},</if>
<if test="impurityFailures != null">impurity_failures = #{impurityFailures},</if>
<if test="pressureFailures != null">pressure_failures = #{pressureFailures},</if>
<if test="leakageFailures != null">leakage_failures = #{leakageFailures},</if>
<if test="labelingFailures != null">labeling_failures = #{labelingFailures},</if>
<if test="otherFailures != null">other_failures = #{otherFailures},</if>
<if test="oxygenPassRate != null">oxygen_pass_rate = #{oxygenPassRate},</if>
<if test="nitrogenPassRate != null">nitrogen_pass_rate = #{nitrogenPassRate},</if>
<if test="argonPassRate != null">argon_pass_rate = #{argonPassRate},</if>
<if test="otherGasesPassRate != null">other_gases_pass_rate = #{otherGasesPassRate},</if>
<if test="testingEquipment != null">testing_equipment = #{testingEquipment},</if>
<if test="testingPersonnel != null">testing_personnel = #{testingPersonnel},</if>
<if test="region != null">region = #{region},</if>
<if test="productionLine != null">production_line = #{productionLine},</if>
<if test="year != null">year = #{year},</if>
<if test="correctiveActions != null">corrective_actions = #{correctiveActions},</if>
<if test="preventiveActions != null">preventive_actions = #{preventiveActions},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteHtZhiliangfenxiById" parameterType="Integer">
delete from ht_zhiliangfenxi where id = #{id}
</delete>
<delete id="deleteHtZhiliangfenxiByIds" parameterType="String">
delete from ht_zhiliangfenxi where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>