Compare commits
2 Commits
134f3fcf40
...
18b7aed956
Author | SHA1 | Date | |
---|---|---|---|
18b7aed956 | |||
5ae8292b22 |
@ -0,0 +1,105 @@
|
||||
package com.zhyc.module.biosafety.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Deworm;
|
||||
import com.zhyc.module.biosafety.service.IDewormService;
|
||||
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.zhyc.common.annotation.Log;
|
||||
import com.zhyc.common.core.controller.BaseController;
|
||||
import com.zhyc.common.core.domain.AjaxResult;
|
||||
import com.zhyc.common.enums.BusinessType;
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 驱虫Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biosafety/deworm")
|
||||
public class DewormController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDewormService dewormService;
|
||||
|
||||
/**
|
||||
* 查询驱虫列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:deworm:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Deworm deworm)
|
||||
{
|
||||
startPage();
|
||||
List<Deworm> list = dewormService.selectDewormList(deworm);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出驱虫列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:deworm:export')")
|
||||
@Log(title = "驱虫", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Deworm deworm)
|
||||
{
|
||||
List<Deworm> list = dewormService.selectDewormList(deworm);
|
||||
ExcelUtil<Deworm> util = new ExcelUtil<Deworm>(Deworm.class);
|
||||
util.exportExcel(response, list, "驱虫数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取驱虫详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:deworm:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(dewormService.selectDewormById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增驱虫
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:deworm:add')")
|
||||
@Log(title = "驱虫", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Deworm deworm)
|
||||
{
|
||||
return toAjax(dewormService.insertDeworm(deworm));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改驱虫
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:deworm:edit')")
|
||||
@Log(title = "驱虫", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Deworm deworm)
|
||||
{
|
||||
return toAjax(dewormService.updateDeworm(deworm));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除驱虫
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:deworm:remove')")
|
||||
@Log(title = "驱虫", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(dewormService.deleteDewormByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Log;
|
||||
import com.zhyc.common.core.controller.BaseController;
|
||||
import com.zhyc.common.core.domain.AjaxResult;
|
||||
import com.zhyc.common.enums.BusinessType;
|
||||
import com.zhyc.module.biosafety.domain.Diagnosis;
|
||||
import com.zhyc.module.biosafety.service.IDiagnosisService;
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 诊疗结果Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/diagnosis/diagnosis")
|
||||
public class DiagnosisController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDiagnosisService diagnosisService;
|
||||
|
||||
/**
|
||||
* 查询诊疗结果列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('diagnosis:diagnosis:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Diagnosis diagnosis)
|
||||
{
|
||||
startPage();
|
||||
List<Diagnosis> list = diagnosisService.selectDiagnosisList(diagnosis);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出诊疗结果列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('diagnosis:diagnosis:export')")
|
||||
@Log(title = "诊疗结果", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Diagnosis diagnosis)
|
||||
{
|
||||
List<Diagnosis> list = diagnosisService.selectDiagnosisList(diagnosis);
|
||||
ExcelUtil<Diagnosis> util = new ExcelUtil<Diagnosis>(Diagnosis.class);
|
||||
util.exportExcel(response, list, "诊疗结果数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取诊疗结果详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('diagnosis:diagnosis:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(diagnosisService.selectDiagnosisById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增诊疗结果
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('diagnosis:diagnosis:add')")
|
||||
@Log(title = "诊疗结果", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Diagnosis diagnosis)
|
||||
{
|
||||
return toAjax(diagnosisService.insertDiagnosis(diagnosis));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改诊疗结果
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('diagnosis:diagnosis:edit')")
|
||||
@Log(title = "诊疗结果", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Diagnosis diagnosis)
|
||||
{
|
||||
return toAjax(diagnosisService.updateDiagnosis(diagnosis));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除诊疗结果
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('diagnosis:diagnosis:remove')")
|
||||
@Log(title = "诊疗结果", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(diagnosisService.deleteDiagnosisByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package com.zhyc.module.biosafety.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhyc.module.biosafety.service.IDisinfectService;
|
||||
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.zhyc.common.annotation.Log;
|
||||
import com.zhyc.common.core.controller.BaseController;
|
||||
import com.zhyc.common.core.domain.AjaxResult;
|
||||
import com.zhyc.common.enums.BusinessType;
|
||||
import com.zhyc.module.biosafety.domain.Disinfect;
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 消毒记录Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biosafety/disinfect")
|
||||
public class DisinfectController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IDisinfectService disinfectService;
|
||||
|
||||
/**
|
||||
* 查询消毒记录列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:disinfect:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Disinfect disinfect)
|
||||
{
|
||||
startPage();
|
||||
List<Disinfect> list = disinfectService.selectDisinfectList(disinfect);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出消毒记录列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:disinfect:export')")
|
||||
@Log(title = "消毒记录", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Disinfect disinfect)
|
||||
{
|
||||
List<Disinfect> list = disinfectService.selectDisinfectList(disinfect);
|
||||
ExcelUtil<Disinfect> util = new ExcelUtil<Disinfect>(Disinfect.class);
|
||||
util.exportExcel(response, list, "消毒记录数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取消毒记录详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:disinfect:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(disinfectService.selectDisinfectById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增消毒记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:disinfect:add')")
|
||||
@Log(title = "消毒记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Disinfect disinfect)
|
||||
{
|
||||
return toAjax(disinfectService.insertDisinfect(disinfect));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改消毒记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:disinfect:edit')")
|
||||
@Log(title = "消毒记录", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Disinfect disinfect)
|
||||
{
|
||||
return toAjax(disinfectService.updateDisinfect(disinfect));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除消毒记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:disinfect:remove')")
|
||||
@Log(title = "消毒记录", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(disinfectService.deleteDisinfectByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package com.zhyc.module.biosafety.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhyc.module.biosafety.service.IHealthService;
|
||||
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.zhyc.common.annotation.Log;
|
||||
import com.zhyc.common.core.controller.BaseController;
|
||||
import com.zhyc.common.core.domain.AjaxResult;
|
||||
import com.zhyc.common.enums.BusinessType;
|
||||
import com.zhyc.module.biosafety.domain.Health;
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 保健Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biosafety/health")
|
||||
public class HealthController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IHealthService healthService;
|
||||
|
||||
/**
|
||||
* 查询保健列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:health:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Health health)
|
||||
{
|
||||
startPage();
|
||||
List<Health> list = healthService.selectHealthList(health);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出保健列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:health:export')")
|
||||
@Log(title = "保健", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Health health)
|
||||
{
|
||||
List<Health> list = healthService.selectHealthList(health);
|
||||
ExcelUtil<Health> util = new ExcelUtil<Health>(Health.class);
|
||||
util.exportExcel(response, list, "保健数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取保健详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:health:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(healthService.selectHealthById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保健
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:health:add')")
|
||||
@Log(title = "保健", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Health health)
|
||||
{
|
||||
return toAjax(healthService.insertHealth(health));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保健
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:health:edit')")
|
||||
@Log(title = "保健", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Health health)
|
||||
{
|
||||
return toAjax(healthService.updateHealth(health));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除保健
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:health:remove')")
|
||||
@Log(title = "保健", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(healthService.deleteHealthByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package com.zhyc.module.biosafety.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhyc.module.biosafety.service.IImmunityService;
|
||||
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.zhyc.common.annotation.Log;
|
||||
import com.zhyc.common.core.controller.BaseController;
|
||||
import com.zhyc.common.core.domain.AjaxResult;
|
||||
import com.zhyc.common.enums.BusinessType;
|
||||
import com.zhyc.module.biosafety.domain.Immunity;
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 免疫Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biosafety/immunity")
|
||||
public class ImmunityController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IImmunityService immunityService;
|
||||
|
||||
/**
|
||||
* 查询免疫列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:immunity:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Immunity immunity)
|
||||
{
|
||||
startPage();
|
||||
List<Immunity> list = immunityService.selectImmunityList(immunity);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出免疫列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:immunity:export')")
|
||||
@Log(title = "免疫", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Immunity immunity)
|
||||
{
|
||||
List<Immunity> list = immunityService.selectImmunityList(immunity);
|
||||
ExcelUtil<Immunity> util = new ExcelUtil<Immunity>(Immunity.class);
|
||||
util.exportExcel(response, list, "免疫数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取免疫详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:immunity:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(immunityService.selectImmunityById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增免疫
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:immunity:add')")
|
||||
@Log(title = "免疫", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Immunity immunity)
|
||||
{
|
||||
return toAjax(immunityService.insertImmunity(immunity));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改免疫
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:immunity:edit')")
|
||||
@Log(title = "免疫", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Immunity immunity)
|
||||
{
|
||||
return toAjax(immunityService.updateImmunity(immunity));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除免疫
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('biosafety:immunity:remove')")
|
||||
@Log(title = "免疫", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(immunityService.deleteImmunityByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package com.zhyc.module.biosafety.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Treatment;
|
||||
import com.zhyc.module.biosafety.service.ITreatmentService;
|
||||
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.zhyc.common.annotation.Log;
|
||||
import com.zhyc.common.core.controller.BaseController;
|
||||
import com.zhyc.common.core.domain.AjaxResult;
|
||||
import com.zhyc.common.enums.BusinessType;
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 治疗记录Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/treatment/treatment")
|
||||
public class TreatmentController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITreatmentService treatmentService;
|
||||
|
||||
/**
|
||||
* 查询治疗记录列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('treatment:treatment:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Treatment treatment)
|
||||
{
|
||||
startPage();
|
||||
List<Treatment> list = treatmentService.selectTreatmentList(treatment);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出治疗记录列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('treatment:treatment:export')")
|
||||
@Log(title = "治疗记录", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Treatment treatment)
|
||||
{
|
||||
List<Treatment> list = treatmentService.selectTreatmentList(treatment);
|
||||
ExcelUtil<Treatment> util = new ExcelUtil<Treatment>(Treatment.class);
|
||||
util.exportExcel(response, list, "治疗记录数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取治疗记录详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('treatment:treatment:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(treatmentService.selectTreatmentById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增治疗记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('treatment:treatment:add')")
|
||||
@Log(title = "治疗记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Treatment treatment)
|
||||
{
|
||||
return toAjax(treatmentService.insertTreatment(treatment));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改治疗记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('treatment:treatment:edit')")
|
||||
@Log(title = "治疗记录", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Treatment treatment)
|
||||
{
|
||||
return toAjax(treatmentService.updateTreatment(treatment));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除治疗记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('treatment:treatment:remove')")
|
||||
@Log(title = "治疗记录", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(treatmentService.deleteTreatmentByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,194 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Excel;
|
||||
import com.zhyc.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 驱虫对象 sw_deworm
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public class Deworm extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 羊只id */
|
||||
@Excel(name = "羊只id")
|
||||
private Long sheepId;
|
||||
|
||||
/** 药品使用记录 */
|
||||
@Excel(name = "药品使用记录")
|
||||
private Long usageId;
|
||||
|
||||
/** 品种 */
|
||||
@Excel(name = "品种")
|
||||
private String variety;
|
||||
|
||||
/** 羊只类别 */
|
||||
@Excel(name = "羊只类别")
|
||||
private String sheepType;
|
||||
|
||||
/** 性别 */
|
||||
@Excel(name = "性别")
|
||||
private String gender;
|
||||
|
||||
/** 月龄 */
|
||||
@Excel(name = "月龄")
|
||||
private Long monthAge;
|
||||
|
||||
/** 胎次 */
|
||||
@Excel(name = "胎次")
|
||||
private Long parity;
|
||||
|
||||
/** 驱虫日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "驱虫日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date datetime;
|
||||
|
||||
/** 技术员 */
|
||||
@Excel(name = "技术员")
|
||||
private String technical;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
private String comment;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setSheepId(Long sheepId)
|
||||
{
|
||||
this.sheepId = sheepId;
|
||||
}
|
||||
|
||||
public Long getSheepId()
|
||||
{
|
||||
return sheepId;
|
||||
}
|
||||
|
||||
public void setUsageId(Long usageId)
|
||||
{
|
||||
this.usageId = usageId;
|
||||
}
|
||||
|
||||
public Long getUsageId()
|
||||
{
|
||||
return usageId;
|
||||
}
|
||||
|
||||
public void setVariety(String variety)
|
||||
{
|
||||
this.variety = variety;
|
||||
}
|
||||
|
||||
public String getVariety()
|
||||
{
|
||||
return variety;
|
||||
}
|
||||
|
||||
public void setSheepType(String sheepType)
|
||||
{
|
||||
this.sheepType = sheepType;
|
||||
}
|
||||
|
||||
public String getSheepType()
|
||||
{
|
||||
return sheepType;
|
||||
}
|
||||
|
||||
public void setGender(String gender)
|
||||
{
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getGender()
|
||||
{
|
||||
return gender;
|
||||
}
|
||||
|
||||
public void setMonthAge(Long monthAge)
|
||||
{
|
||||
this.monthAge = monthAge;
|
||||
}
|
||||
|
||||
public Long getMonthAge()
|
||||
{
|
||||
return monthAge;
|
||||
}
|
||||
|
||||
public void setParity(Long parity)
|
||||
{
|
||||
this.parity = parity;
|
||||
}
|
||||
|
||||
public Long getParity()
|
||||
{
|
||||
return parity;
|
||||
}
|
||||
|
||||
public void setDatetime(Date datetime)
|
||||
{
|
||||
this.datetime = datetime;
|
||||
}
|
||||
|
||||
public Date getDatetime()
|
||||
{
|
||||
return datetime;
|
||||
}
|
||||
|
||||
public void setTechnical(String technical)
|
||||
{
|
||||
this.technical = technical;
|
||||
}
|
||||
|
||||
public String getTechnical()
|
||||
{
|
||||
return technical;
|
||||
}
|
||||
|
||||
public void setComment(String comment)
|
||||
{
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
public String getComment()
|
||||
{
|
||||
return comment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("sheepId", getSheepId())
|
||||
.append("usageId", getUsageId())
|
||||
.append("variety", getVariety())
|
||||
.append("sheepType", getSheepType())
|
||||
.append("gender", getGender())
|
||||
.append("monthAge", getMonthAge())
|
||||
.append("parity", getParity())
|
||||
.append("datetime", getDatetime())
|
||||
.append("technical", getTechnical())
|
||||
.append("comment", getComment())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,239 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Excel;
|
||||
import com.zhyc.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 诊疗结果对象 sw_diagnosis
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public class Diagnosis extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 治疗记录id */
|
||||
@Excel(name = "治疗记录id")
|
||||
private Long treatId;
|
||||
|
||||
/** 羊只id */
|
||||
@Excel(name = "羊只id")
|
||||
private Long sheepId;
|
||||
|
||||
/** 时间日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "时间日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date datetime;
|
||||
|
||||
/** 羊只类别 */
|
||||
@Excel(name = "羊只类别")
|
||||
private String sheepType;
|
||||
|
||||
/** 性别 */
|
||||
@Excel(name = "性别")
|
||||
private String gender;
|
||||
|
||||
/** 胎次 */
|
||||
@Excel(name = "胎次")
|
||||
private String parity;
|
||||
|
||||
/** 疾病类型 */
|
||||
@Excel(name = "疾病类型")
|
||||
private Long diseasePid;
|
||||
|
||||
/** 子疾病 */
|
||||
@Excel(name = "子疾病")
|
||||
private Long diseaseId;
|
||||
|
||||
/** 诊疗结果 */
|
||||
@Excel(name = "诊疗结果")
|
||||
private Long result;
|
||||
|
||||
/** 开始时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date begindate;
|
||||
|
||||
/** 结束时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date enddate;
|
||||
|
||||
/** 治疗天数 */
|
||||
@Excel(name = "治疗天数")
|
||||
private Long treatDay;
|
||||
|
||||
/** 羊舍id */
|
||||
@Excel(name = "羊舍id")
|
||||
private Long sheepfoldId;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setTreatId(Long treatId)
|
||||
{
|
||||
this.treatId = treatId;
|
||||
}
|
||||
|
||||
public Long getTreatId()
|
||||
{
|
||||
return treatId;
|
||||
}
|
||||
|
||||
public void setSheepId(Long sheepId)
|
||||
{
|
||||
this.sheepId = sheepId;
|
||||
}
|
||||
|
||||
public Long getSheepId()
|
||||
{
|
||||
return sheepId;
|
||||
}
|
||||
|
||||
public void setDatetime(Date datetime)
|
||||
{
|
||||
this.datetime = datetime;
|
||||
}
|
||||
|
||||
public Date getDatetime()
|
||||
{
|
||||
return datetime;
|
||||
}
|
||||
|
||||
public void setSheepType(String sheepType)
|
||||
{
|
||||
this.sheepType = sheepType;
|
||||
}
|
||||
|
||||
public String getSheepType()
|
||||
{
|
||||
return sheepType;
|
||||
}
|
||||
|
||||
public void setGender(String gender)
|
||||
{
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getGender()
|
||||
{
|
||||
return gender;
|
||||
}
|
||||
|
||||
public void setParity(String parity)
|
||||
{
|
||||
this.parity = parity;
|
||||
}
|
||||
|
||||
public String getParity()
|
||||
{
|
||||
return parity;
|
||||
}
|
||||
|
||||
public void setDiseasePid(Long diseasePid)
|
||||
{
|
||||
this.diseasePid = diseasePid;
|
||||
}
|
||||
|
||||
public Long getDiseasePid()
|
||||
{
|
||||
return diseasePid;
|
||||
}
|
||||
|
||||
public void setDiseaseId(Long diseaseId)
|
||||
{
|
||||
this.diseaseId = diseaseId;
|
||||
}
|
||||
|
||||
public Long getDiseaseId()
|
||||
{
|
||||
return diseaseId;
|
||||
}
|
||||
|
||||
public void setResult(Long result)
|
||||
{
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public Long getResult()
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setBegindate(Date begindate)
|
||||
{
|
||||
this.begindate = begindate;
|
||||
}
|
||||
|
||||
public Date getBegindate()
|
||||
{
|
||||
return begindate;
|
||||
}
|
||||
|
||||
public void setEnddate(Date enddate)
|
||||
{
|
||||
this.enddate = enddate;
|
||||
}
|
||||
|
||||
public Date getEnddate()
|
||||
{
|
||||
return enddate;
|
||||
}
|
||||
|
||||
public void setTreatDay(Long treatDay)
|
||||
{
|
||||
this.treatDay = treatDay;
|
||||
}
|
||||
|
||||
public Long getTreatDay()
|
||||
{
|
||||
return treatDay;
|
||||
}
|
||||
|
||||
public void setSheepfoldId(Long sheepfoldId)
|
||||
{
|
||||
this.sheepfoldId = sheepfoldId;
|
||||
}
|
||||
|
||||
public Long getSheepfoldId()
|
||||
{
|
||||
return sheepfoldId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("treatId", getTreatId())
|
||||
.append("sheepId", getSheepId())
|
||||
.append("datetime", getDatetime())
|
||||
.append("sheepType", getSheepType())
|
||||
.append("gender", getGender())
|
||||
.append("parity", getParity())
|
||||
.append("diseasePid", getDiseasePid())
|
||||
.append("diseaseId", getDiseaseId())
|
||||
.append("result", getResult())
|
||||
.append("begindate", getBegindate())
|
||||
.append("enddate", getEnddate())
|
||||
.append("treatDay", getTreatDay())
|
||||
.append("sheepfoldId", getSheepfoldId())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Excel;
|
||||
import com.zhyc.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 消毒记录对象 sw_disinfect
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public class Disinfect extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** id */
|
||||
private Long id;
|
||||
|
||||
/** 羊舍id */
|
||||
@Excel(name = "羊舍id")
|
||||
private Long sheepfoldId;
|
||||
|
||||
/** 消毒日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "消毒日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date datetime;
|
||||
|
||||
/** 技术员 */
|
||||
@Excel(name = "技术员")
|
||||
private String technician;
|
||||
|
||||
/** 消毒方式 */
|
||||
@Excel(name = "消毒方式")
|
||||
private String way;
|
||||
|
||||
/** 药品使用记录id */
|
||||
@Excel(name = "药品使用记录id")
|
||||
private Long usageId;
|
||||
|
||||
/** 比例 */
|
||||
@Excel(name = "比例")
|
||||
private String ratio;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
private String comment;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setSheepfoldId(Long sheepfoldId)
|
||||
{
|
||||
this.sheepfoldId = sheepfoldId;
|
||||
}
|
||||
|
||||
public Long getSheepfoldId()
|
||||
{
|
||||
return sheepfoldId;
|
||||
}
|
||||
|
||||
public void setDatetime(Date datetime)
|
||||
{
|
||||
this.datetime = datetime;
|
||||
}
|
||||
|
||||
public Date getDatetime()
|
||||
{
|
||||
return datetime;
|
||||
}
|
||||
|
||||
public void setTechnician(String technician)
|
||||
{
|
||||
this.technician = technician;
|
||||
}
|
||||
|
||||
public String getTechnician()
|
||||
{
|
||||
return technician;
|
||||
}
|
||||
|
||||
public void setWay(String way)
|
||||
{
|
||||
this.way = way;
|
||||
}
|
||||
|
||||
public String getWay()
|
||||
{
|
||||
return way;
|
||||
}
|
||||
|
||||
public void setUsageId(Long usageId)
|
||||
{
|
||||
this.usageId = usageId;
|
||||
}
|
||||
|
||||
public Long getUsageId()
|
||||
{
|
||||
return usageId;
|
||||
}
|
||||
|
||||
public void setRatio(String ratio)
|
||||
{
|
||||
this.ratio = ratio;
|
||||
}
|
||||
|
||||
public String getRatio()
|
||||
{
|
||||
return ratio;
|
||||
}
|
||||
|
||||
public void setComment(String comment)
|
||||
{
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
public String getComment()
|
||||
{
|
||||
return comment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("sheepfoldId", getSheepfoldId())
|
||||
.append("datetime", getDatetime())
|
||||
.append("technician", getTechnician())
|
||||
.append("way", getWay())
|
||||
.append("usageId", getUsageId())
|
||||
.append("ratio", getRatio())
|
||||
.append("comment", getComment())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,209 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Excel;
|
||||
import com.zhyc.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 保健对象 sw_health
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public class Health extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 保健日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "保健日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date datetime;
|
||||
|
||||
/** 羊只id */
|
||||
@Excel(name = "羊只id")
|
||||
private Long sheepId;
|
||||
|
||||
/** 用药记录 */
|
||||
@Excel(name = "用药记录")
|
||||
private Long usageId;
|
||||
|
||||
/** 品种 */
|
||||
@Excel(name = "品种")
|
||||
private String variety;
|
||||
|
||||
/** 羊只类别 */
|
||||
@Excel(name = "羊只类别")
|
||||
private String sheepType;
|
||||
|
||||
/** 性别 */
|
||||
@Excel(name = "性别")
|
||||
private String gender;
|
||||
|
||||
/** 月龄 */
|
||||
@Excel(name = "月龄")
|
||||
private String monthAge;
|
||||
|
||||
/** 胎次 */
|
||||
@Excel(name = "胎次")
|
||||
private Long parity;
|
||||
|
||||
/** 羊舍id */
|
||||
@Excel(name = "羊舍id")
|
||||
private Long sheepfoldId;
|
||||
|
||||
/** 技术员 */
|
||||
@Excel(name = "技术员")
|
||||
private String technical;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
private String comment;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setDatetime(Date datetime)
|
||||
{
|
||||
this.datetime = datetime;
|
||||
}
|
||||
|
||||
public Date getDatetime()
|
||||
{
|
||||
return datetime;
|
||||
}
|
||||
|
||||
public void setSheepId(Long sheepId)
|
||||
{
|
||||
this.sheepId = sheepId;
|
||||
}
|
||||
|
||||
public Long getSheepId()
|
||||
{
|
||||
return sheepId;
|
||||
}
|
||||
|
||||
public void setUsageId(Long usageId)
|
||||
{
|
||||
this.usageId = usageId;
|
||||
}
|
||||
|
||||
public Long getUsageId()
|
||||
{
|
||||
return usageId;
|
||||
}
|
||||
|
||||
public void setVariety(String variety)
|
||||
{
|
||||
this.variety = variety;
|
||||
}
|
||||
|
||||
public String getVariety()
|
||||
{
|
||||
return variety;
|
||||
}
|
||||
|
||||
public void setSheepType(String sheepType)
|
||||
{
|
||||
this.sheepType = sheepType;
|
||||
}
|
||||
|
||||
public String getSheepType()
|
||||
{
|
||||
return sheepType;
|
||||
}
|
||||
|
||||
public void setGender(String gender)
|
||||
{
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getGender()
|
||||
{
|
||||
return gender;
|
||||
}
|
||||
|
||||
public void setMonthAge(String monthAge)
|
||||
{
|
||||
this.monthAge = monthAge;
|
||||
}
|
||||
|
||||
public String getMonthAge()
|
||||
{
|
||||
return monthAge;
|
||||
}
|
||||
|
||||
public void setParity(Long parity)
|
||||
{
|
||||
this.parity = parity;
|
||||
}
|
||||
|
||||
public Long getParity()
|
||||
{
|
||||
return parity;
|
||||
}
|
||||
|
||||
public void setSheepfoldId(Long sheepfoldId)
|
||||
{
|
||||
this.sheepfoldId = sheepfoldId;
|
||||
}
|
||||
|
||||
public Long getSheepfoldId()
|
||||
{
|
||||
return sheepfoldId;
|
||||
}
|
||||
|
||||
public void setTechnical(String technical)
|
||||
{
|
||||
this.technical = technical;
|
||||
}
|
||||
|
||||
public String getTechnical()
|
||||
{
|
||||
return technical;
|
||||
}
|
||||
|
||||
public void setComment(String comment)
|
||||
{
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
public String getComment()
|
||||
{
|
||||
return comment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("datetime", getDatetime())
|
||||
.append("sheepId", getSheepId())
|
||||
.append("usageId", getUsageId())
|
||||
.append("variety", getVariety())
|
||||
.append("sheepType", getSheepType())
|
||||
.append("gender", getGender())
|
||||
.append("monthAge", getMonthAge())
|
||||
.append("parity", getParity())
|
||||
.append("sheepfoldId", getSheepfoldId())
|
||||
.append("technical", getTechnical())
|
||||
.append("comment", getComment())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,209 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Excel;
|
||||
import com.zhyc.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 免疫对象 sw_immunity
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public class Immunity extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 羊只id */
|
||||
@Excel(name = "羊只id")
|
||||
private Long sheepId;
|
||||
|
||||
/** 使用记录 */
|
||||
@Excel(name = "使用记录")
|
||||
private Long usageId;
|
||||
|
||||
/** 品种 */
|
||||
@Excel(name = "品种")
|
||||
private String variety;
|
||||
|
||||
/** 羊只类型 */
|
||||
@Excel(name = "羊只类型")
|
||||
private Long sheepType;
|
||||
|
||||
/** 羊只性别 */
|
||||
@Excel(name = "羊只性别")
|
||||
private String gender;
|
||||
|
||||
/** 月龄 */
|
||||
@Excel(name = "月龄")
|
||||
private Long monthAge;
|
||||
|
||||
/** 胎次 */
|
||||
@Excel(name = "胎次")
|
||||
private Long parity;
|
||||
|
||||
/** 羊舍id */
|
||||
@Excel(name = "羊舍id")
|
||||
private Long sheepfoldId;
|
||||
|
||||
/** 免疫日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "免疫日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date datetime;
|
||||
|
||||
/** 技术员 */
|
||||
@Excel(name = "技术员")
|
||||
private String technical;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
private String comment;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setSheepId(Long sheepId)
|
||||
{
|
||||
this.sheepId = sheepId;
|
||||
}
|
||||
|
||||
public Long getSheepId()
|
||||
{
|
||||
return sheepId;
|
||||
}
|
||||
|
||||
public void setUsageId(Long usageId)
|
||||
{
|
||||
this.usageId = usageId;
|
||||
}
|
||||
|
||||
public Long getUsageId()
|
||||
{
|
||||
return usageId;
|
||||
}
|
||||
|
||||
public void setVariety(String variety)
|
||||
{
|
||||
this.variety = variety;
|
||||
}
|
||||
|
||||
public String getVariety()
|
||||
{
|
||||
return variety;
|
||||
}
|
||||
|
||||
public void setSheepType(Long sheepType)
|
||||
{
|
||||
this.sheepType = sheepType;
|
||||
}
|
||||
|
||||
public Long getSheepType()
|
||||
{
|
||||
return sheepType;
|
||||
}
|
||||
|
||||
public void setGender(String gender)
|
||||
{
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getGender()
|
||||
{
|
||||
return gender;
|
||||
}
|
||||
|
||||
public void setMonthAge(Long monthAge)
|
||||
{
|
||||
this.monthAge = monthAge;
|
||||
}
|
||||
|
||||
public Long getMonthAge()
|
||||
{
|
||||
return monthAge;
|
||||
}
|
||||
|
||||
public void setParity(Long parity)
|
||||
{
|
||||
this.parity = parity;
|
||||
}
|
||||
|
||||
public Long getParity()
|
||||
{
|
||||
return parity;
|
||||
}
|
||||
|
||||
public void setSheepfoldId(Long sheepfoldId)
|
||||
{
|
||||
this.sheepfoldId = sheepfoldId;
|
||||
}
|
||||
|
||||
public Long getSheepfoldId()
|
||||
{
|
||||
return sheepfoldId;
|
||||
}
|
||||
|
||||
public void setDatetime(Date datetime)
|
||||
{
|
||||
this.datetime = datetime;
|
||||
}
|
||||
|
||||
public Date getDatetime()
|
||||
{
|
||||
return datetime;
|
||||
}
|
||||
|
||||
public void setTechnical(String technical)
|
||||
{
|
||||
this.technical = technical;
|
||||
}
|
||||
|
||||
public String getTechnical()
|
||||
{
|
||||
return technical;
|
||||
}
|
||||
|
||||
public void setComment(String comment)
|
||||
{
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
public String getComment()
|
||||
{
|
||||
return comment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("sheepId", getSheepId())
|
||||
.append("usageId", getUsageId())
|
||||
.append("variety", getVariety())
|
||||
.append("sheepType", getSheepType())
|
||||
.append("gender", getGender())
|
||||
.append("monthAge", getMonthAge())
|
||||
.append("parity", getParity())
|
||||
.append("sheepfoldId", getSheepfoldId())
|
||||
.append("datetime", getDatetime())
|
||||
.append("technical", getTechnical())
|
||||
.append("comment", getComment())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -60,7 +60,7 @@ public class QuarantineReport extends BaseEntity
|
||||
|
||||
/** 样品 */
|
||||
@Excel(name = "样品类型")
|
||||
private Long sample;
|
||||
private String sample;
|
||||
|
||||
|
||||
/** 采样员 */
|
||||
|
@ -0,0 +1,283 @@
|
||||
package com.zhyc.module.biosafety.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.zhyc.common.annotation.Excel;
|
||||
import com.zhyc.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 治疗记录对象 sw_treatment
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public class Treatment extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 诊疗记录id */
|
||||
private Long diagId;
|
||||
|
||||
/** 羊只耳号 */
|
||||
@Excel(name = "羊只耳号")
|
||||
private Long sheepId;
|
||||
|
||||
/** 品种 */
|
||||
@Excel(name = "品种")
|
||||
private String variety;
|
||||
|
||||
/** 羊只类别 */
|
||||
@Excel(name = "羊只类别")
|
||||
private String sheepType;
|
||||
|
||||
/** 月龄 */
|
||||
@Excel(name = "月龄")
|
||||
private Long monthAge;
|
||||
|
||||
/** 性别 */
|
||||
@Excel(name = "性别")
|
||||
private String gender;
|
||||
|
||||
/** 胎次 */
|
||||
@Excel(name = "胎次")
|
||||
private Long parity;
|
||||
|
||||
/** 繁殖状态 */
|
||||
@Excel(name = "繁殖状态")
|
||||
private String breed;
|
||||
|
||||
/** 泌乳天数 */
|
||||
@Excel(name = "泌乳天数")
|
||||
private Long lactDay;
|
||||
|
||||
/** 怀孕天数 */
|
||||
@Excel(name = "怀孕天数")
|
||||
private Long gestDay;
|
||||
|
||||
/** 治疗日期 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "治疗日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date datetime;
|
||||
|
||||
/** 疾病类型 */
|
||||
@Excel(name = "疾病类型")
|
||||
private Long diseaseId;
|
||||
|
||||
/** 父疾病 */
|
||||
@Excel(name = "父疾病")
|
||||
private String diseasePid;
|
||||
|
||||
/** 兽医 */
|
||||
@Excel(name = "兽医")
|
||||
private String veterinary;
|
||||
|
||||
/** 药品使用记录id */
|
||||
@Excel(name = "药品使用记录id")
|
||||
private Long usageId;
|
||||
|
||||
/** 备注 */
|
||||
@Excel(name = "备注")
|
||||
private String comment;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setDiagId(Long diagId)
|
||||
{
|
||||
this.diagId = diagId;
|
||||
}
|
||||
|
||||
public Long getDiagId()
|
||||
{
|
||||
return diagId;
|
||||
}
|
||||
|
||||
public void setSheepId(Long sheepId)
|
||||
{
|
||||
this.sheepId = sheepId;
|
||||
}
|
||||
|
||||
public Long getSheepId()
|
||||
{
|
||||
return sheepId;
|
||||
}
|
||||
|
||||
public void setVariety(String variety)
|
||||
{
|
||||
this.variety = variety;
|
||||
}
|
||||
|
||||
public String getVariety()
|
||||
{
|
||||
return variety;
|
||||
}
|
||||
|
||||
public void setSheepType(String sheepType)
|
||||
{
|
||||
this.sheepType = sheepType;
|
||||
}
|
||||
|
||||
public String getSheepType()
|
||||
{
|
||||
return sheepType;
|
||||
}
|
||||
|
||||
public void setMonthAge(Long monthAge)
|
||||
{
|
||||
this.monthAge = monthAge;
|
||||
}
|
||||
|
||||
public Long getMonthAge()
|
||||
{
|
||||
return monthAge;
|
||||
}
|
||||
|
||||
public void setGender(String gender)
|
||||
{
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getGender()
|
||||
{
|
||||
return gender;
|
||||
}
|
||||
|
||||
public void setParity(Long parity)
|
||||
{
|
||||
this.parity = parity;
|
||||
}
|
||||
|
||||
public Long getParity()
|
||||
{
|
||||
return parity;
|
||||
}
|
||||
|
||||
public void setBreed(String breed)
|
||||
{
|
||||
this.breed = breed;
|
||||
}
|
||||
|
||||
public String getBreed()
|
||||
{
|
||||
return breed;
|
||||
}
|
||||
|
||||
public void setLactDay(Long lactDay)
|
||||
{
|
||||
this.lactDay = lactDay;
|
||||
}
|
||||
|
||||
public Long getLactDay()
|
||||
{
|
||||
return lactDay;
|
||||
}
|
||||
|
||||
public void setGestDay(Long gestDay)
|
||||
{
|
||||
this.gestDay = gestDay;
|
||||
}
|
||||
|
||||
public Long getGestDay()
|
||||
{
|
||||
return gestDay;
|
||||
}
|
||||
|
||||
public void setDatetime(Date datetime)
|
||||
{
|
||||
this.datetime = datetime;
|
||||
}
|
||||
|
||||
public Date getDatetime()
|
||||
{
|
||||
return datetime;
|
||||
}
|
||||
|
||||
public void setDiseaseId(Long diseaseId)
|
||||
{
|
||||
this.diseaseId = diseaseId;
|
||||
}
|
||||
|
||||
public Long getDiseaseId()
|
||||
{
|
||||
return diseaseId;
|
||||
}
|
||||
|
||||
public void setDiseasePid(String diseasePid)
|
||||
{
|
||||
this.diseasePid = diseasePid;
|
||||
}
|
||||
|
||||
public String getDiseasePid()
|
||||
{
|
||||
return diseasePid;
|
||||
}
|
||||
|
||||
public void setVeterinary(String veterinary)
|
||||
{
|
||||
this.veterinary = veterinary;
|
||||
}
|
||||
|
||||
public String getVeterinary()
|
||||
{
|
||||
return veterinary;
|
||||
}
|
||||
|
||||
public void setUsageId(Long usageId)
|
||||
{
|
||||
this.usageId = usageId;
|
||||
}
|
||||
|
||||
public Long getUsageId()
|
||||
{
|
||||
return usageId;
|
||||
}
|
||||
|
||||
public void setComment(String comment)
|
||||
{
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
public String getComment()
|
||||
{
|
||||
return comment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("diagId", getDiagId())
|
||||
.append("sheepId", getSheepId())
|
||||
.append("variety", getVariety())
|
||||
.append("sheepType", getSheepType())
|
||||
.append("monthAge", getMonthAge())
|
||||
.append("gender", getGender())
|
||||
.append("parity", getParity())
|
||||
.append("breed", getBreed())
|
||||
.append("lactDay", getLactDay())
|
||||
.append("gestDay", getGestDay())
|
||||
.append("datetime", getDatetime())
|
||||
.append("diseaseId", getDiseaseId())
|
||||
.append("diseasePid", getDiseasePid())
|
||||
.append("veterinary", getVeterinary())
|
||||
.append("usageId", getUsageId())
|
||||
.append("comment", getComment())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.zhyc.module.biosafety.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Deworm;
|
||||
|
||||
/**
|
||||
* 驱虫Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface DewormMapper
|
||||
{
|
||||
/**
|
||||
* 查询驱虫
|
||||
*
|
||||
* @param id 驱虫主键
|
||||
* @return 驱虫
|
||||
*/
|
||||
public Deworm selectDewormById(Long id);
|
||||
|
||||
/**
|
||||
* 查询驱虫列表
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 驱虫集合
|
||||
*/
|
||||
public List<Deworm> selectDewormList(Deworm deworm);
|
||||
|
||||
/**
|
||||
* 新增驱虫
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDeworm(Deworm deworm);
|
||||
|
||||
/**
|
||||
* 修改驱虫
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDeworm(Deworm deworm);
|
||||
|
||||
/**
|
||||
* 删除驱虫
|
||||
*
|
||||
* @param id 驱虫主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDewormById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除驱虫
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDewormByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Diagnosis;
|
||||
|
||||
/**
|
||||
* 诊疗结果Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface DiagnosisMapper
|
||||
{
|
||||
/**
|
||||
* 查询诊疗结果
|
||||
*
|
||||
* @param id 诊疗结果主键
|
||||
* @return 诊疗结果
|
||||
*/
|
||||
public Diagnosis selectDiagnosisById(Long id);
|
||||
|
||||
/**
|
||||
* 查询诊疗结果列表
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 诊疗结果集合
|
||||
*/
|
||||
public List<Diagnosis> selectDiagnosisList(Diagnosis diagnosis);
|
||||
|
||||
/**
|
||||
* 新增诊疗结果
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDiagnosis(Diagnosis diagnosis);
|
||||
|
||||
/**
|
||||
* 修改诊疗结果
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDiagnosis(Diagnosis diagnosis);
|
||||
|
||||
/**
|
||||
* 删除诊疗结果
|
||||
*
|
||||
* @param id 诊疗结果主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDiagnosisById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除诊疗结果
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDiagnosisByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Disinfect;
|
||||
|
||||
/**
|
||||
* 消毒记录Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface DisinfectMapper
|
||||
{
|
||||
/**
|
||||
* 查询消毒记录
|
||||
*
|
||||
* @param id 消毒记录主键
|
||||
* @return 消毒记录
|
||||
*/
|
||||
public Disinfect selectDisinfectById(Long id);
|
||||
|
||||
/**
|
||||
* 查询消毒记录列表
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 消毒记录集合
|
||||
*/
|
||||
public List<Disinfect> selectDisinfectList(Disinfect disinfect);
|
||||
|
||||
/**
|
||||
* 新增消毒记录
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDisinfect(Disinfect disinfect);
|
||||
|
||||
/**
|
||||
* 修改消毒记录
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDisinfect(Disinfect disinfect);
|
||||
|
||||
/**
|
||||
* 删除消毒记录
|
||||
*
|
||||
* @param id 消毒记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDisinfectById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除消毒记录
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDisinfectByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Health;
|
||||
|
||||
/**
|
||||
* 保健Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface HealthMapper
|
||||
{
|
||||
/**
|
||||
* 查询保健
|
||||
*
|
||||
* @param id 保健主键
|
||||
* @return 保健
|
||||
*/
|
||||
public Health selectHealthById(Long id);
|
||||
|
||||
/**
|
||||
* 查询保健列表
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 保健集合
|
||||
*/
|
||||
public List<Health> selectHealthList(Health health);
|
||||
|
||||
/**
|
||||
* 新增保健
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertHealth(Health health);
|
||||
|
||||
/**
|
||||
* 修改保健
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateHealth(Health health);
|
||||
|
||||
/**
|
||||
* 删除保健
|
||||
*
|
||||
* @param id 保健主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteHealthById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除保健
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteHealthByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Immunity;
|
||||
|
||||
/**
|
||||
* 免疫Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface ImmunityMapper
|
||||
{
|
||||
/**
|
||||
* 查询免疫
|
||||
*
|
||||
* @param id 免疫主键
|
||||
* @return 免疫
|
||||
*/
|
||||
public Immunity selectImmunityById(Long id);
|
||||
|
||||
/**
|
||||
* 查询免疫列表
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 免疫集合
|
||||
*/
|
||||
public List<Immunity> selectImmunityList(Immunity immunity);
|
||||
|
||||
/**
|
||||
* 新增免疫
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertImmunity(Immunity immunity);
|
||||
|
||||
/**
|
||||
* 修改免疫
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateImmunity(Immunity immunity);
|
||||
|
||||
/**
|
||||
* 删除免疫
|
||||
*
|
||||
* @param id 免疫主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteImmunityById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除免疫
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteImmunityByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.zhyc.module.biosafety.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Treatment;
|
||||
|
||||
/**
|
||||
* 治疗记录Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface TreatmentMapper
|
||||
{
|
||||
/**
|
||||
* 查询治疗记录
|
||||
*
|
||||
* @param id 治疗记录主键
|
||||
* @return 治疗记录
|
||||
*/
|
||||
public Treatment selectTreatmentById(Long id);
|
||||
|
||||
/**
|
||||
* 查询治疗记录列表
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 治疗记录集合
|
||||
*/
|
||||
public List<Treatment> selectTreatmentList(Treatment treatment);
|
||||
|
||||
/**
|
||||
* 新增治疗记录
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTreatment(Treatment treatment);
|
||||
|
||||
/**
|
||||
* 修改治疗记录
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTreatment(Treatment treatment);
|
||||
|
||||
/**
|
||||
* 删除治疗记录
|
||||
*
|
||||
* @param id 治疗记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTreatmentById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除治疗记录
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTreatmentByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.zhyc.module.biosafety.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Deworm;
|
||||
|
||||
/**
|
||||
* 驱虫Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface IDewormService
|
||||
{
|
||||
/**
|
||||
* 查询驱虫
|
||||
*
|
||||
* @param id 驱虫主键
|
||||
* @return 驱虫
|
||||
*/
|
||||
public Deworm selectDewormById(Long id);
|
||||
|
||||
/**
|
||||
* 查询驱虫列表
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 驱虫集合
|
||||
*/
|
||||
public List<Deworm> selectDewormList(Deworm deworm);
|
||||
|
||||
/**
|
||||
* 新增驱虫
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDeworm(Deworm deworm);
|
||||
|
||||
/**
|
||||
* 修改驱虫
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDeworm(Deworm deworm);
|
||||
|
||||
/**
|
||||
* 批量删除驱虫
|
||||
*
|
||||
* @param ids 需要删除的驱虫主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDewormByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除驱虫信息
|
||||
*
|
||||
* @param id 驱虫主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDewormById(Long id);
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.zhyc.module.biosafety.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Diagnosis;
|
||||
|
||||
/**
|
||||
* 诊疗结果Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface IDiagnosisService
|
||||
{
|
||||
/**
|
||||
* 查询诊疗结果
|
||||
*
|
||||
* @param id 诊疗结果主键
|
||||
* @return 诊疗结果
|
||||
*/
|
||||
public Diagnosis selectDiagnosisById(Long id);
|
||||
|
||||
/**
|
||||
* 查询诊疗结果列表
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 诊疗结果集合
|
||||
*/
|
||||
public List<Diagnosis> selectDiagnosisList(Diagnosis diagnosis);
|
||||
|
||||
/**
|
||||
* 新增诊疗结果
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDiagnosis(Diagnosis diagnosis);
|
||||
|
||||
/**
|
||||
* 修改诊疗结果
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDiagnosis(Diagnosis diagnosis);
|
||||
|
||||
/**
|
||||
* 批量删除诊疗结果
|
||||
*
|
||||
* @param ids 需要删除的诊疗结果主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDiagnosisByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除诊疗结果信息
|
||||
*
|
||||
* @param id 诊疗结果主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDiagnosisById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Disinfect;
|
||||
|
||||
/**
|
||||
* 消毒记录Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface IDisinfectService
|
||||
{
|
||||
/**
|
||||
* 查询消毒记录
|
||||
*
|
||||
* @param id 消毒记录主键
|
||||
* @return 消毒记录
|
||||
*/
|
||||
public Disinfect selectDisinfectById(Long id);
|
||||
|
||||
/**
|
||||
* 查询消毒记录列表
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 消毒记录集合
|
||||
*/
|
||||
public List<Disinfect> selectDisinfectList(Disinfect disinfect);
|
||||
|
||||
/**
|
||||
* 新增消毒记录
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDisinfect(Disinfect disinfect);
|
||||
|
||||
/**
|
||||
* 修改消毒记录
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDisinfect(Disinfect disinfect);
|
||||
|
||||
/**
|
||||
* 批量删除消毒记录
|
||||
*
|
||||
* @param ids 需要删除的消毒记录主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDisinfectByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除消毒记录信息
|
||||
*
|
||||
* @param id 消毒记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDisinfectById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Health;
|
||||
|
||||
/**
|
||||
* 保健Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface IHealthService
|
||||
{
|
||||
/**
|
||||
* 查询保健
|
||||
*
|
||||
* @param id 保健主键
|
||||
* @return 保健
|
||||
*/
|
||||
public Health selectHealthById(Long id);
|
||||
|
||||
/**
|
||||
* 查询保健列表
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 保健集合
|
||||
*/
|
||||
public List<Health> selectHealthList(Health health);
|
||||
|
||||
/**
|
||||
* 新增保健
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertHealth(Health health);
|
||||
|
||||
/**
|
||||
* 修改保健
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateHealth(Health health);
|
||||
|
||||
/**
|
||||
* 批量删除保健
|
||||
*
|
||||
* @param ids 需要删除的保健主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteHealthByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除保健信息
|
||||
*
|
||||
* @param id 保健主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteHealthById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.zhyc.module.biosafety.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.biosafety.domain.Immunity;
|
||||
|
||||
/**
|
||||
* 免疫Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface IImmunityService
|
||||
{
|
||||
/**
|
||||
* 查询免疫
|
||||
*
|
||||
* @param id 免疫主键
|
||||
* @return 免疫
|
||||
*/
|
||||
public Immunity selectImmunityById(Long id);
|
||||
|
||||
/**
|
||||
* 查询免疫列表
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 免疫集合
|
||||
*/
|
||||
public List<Immunity> selectImmunityList(Immunity immunity);
|
||||
|
||||
/**
|
||||
* 新增免疫
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertImmunity(Immunity immunity);
|
||||
|
||||
/**
|
||||
* 修改免疫
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateImmunity(Immunity immunity);
|
||||
|
||||
/**
|
||||
* 批量删除免疫
|
||||
*
|
||||
* @param ids 需要删除的免疫主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteImmunityByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除免疫信息
|
||||
*
|
||||
* @param id 免疫主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteImmunityById(Long id);
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package com.zhyc.module.biosafety.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.zhyc.module.biosafety.domain.Treatment;
|
||||
|
||||
/**
|
||||
* 治疗记录Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
public interface ITreatmentService
|
||||
{
|
||||
/**
|
||||
* 查询治疗记录
|
||||
*
|
||||
* @param id 治疗记录主键
|
||||
* @return 治疗记录
|
||||
*/
|
||||
public Treatment selectTreatmentById(Long id);
|
||||
|
||||
/**
|
||||
* 查询治疗记录列表
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 治疗记录集合
|
||||
*/
|
||||
public List<Treatment> selectTreatmentList(Treatment treatment);
|
||||
|
||||
/**
|
||||
* 新增治疗记录
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTreatment(Treatment treatment);
|
||||
|
||||
/**
|
||||
* 修改治疗记录
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTreatment(Treatment treatment);
|
||||
|
||||
/**
|
||||
* 批量删除治疗记录
|
||||
*
|
||||
* @param ids 需要删除的治疗记录主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTreatmentByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除治疗记录信息
|
||||
*
|
||||
* @param id 治疗记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTreatmentById(Long id);
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.zhyc.module.biosafety.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import com.zhyc.module.biosafety.domain.Deworm;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.biosafety.mapper.DewormMapper;
|
||||
import com.zhyc.module.biosafety.service.IDewormService;
|
||||
|
||||
/**
|
||||
* 驱虫Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@Service
|
||||
public class DewormServiceImpl implements IDewormService
|
||||
{
|
||||
@Autowired
|
||||
private DewormMapper dewormMapper;
|
||||
|
||||
/**
|
||||
* 查询驱虫
|
||||
*
|
||||
* @param id 驱虫主键
|
||||
* @return 驱虫
|
||||
*/
|
||||
@Override
|
||||
public Deworm selectDewormById(Long id)
|
||||
{
|
||||
return dewormMapper.selectDewormById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询驱虫列表
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 驱虫
|
||||
*/
|
||||
@Override
|
||||
public List<Deworm> selectDewormList(Deworm deworm)
|
||||
{
|
||||
return dewormMapper.selectDewormList(deworm);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增驱虫
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDeworm(Deworm deworm)
|
||||
{
|
||||
deworm.setCreateTime(DateUtils.getNowDate());
|
||||
return dewormMapper.insertDeworm(deworm);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改驱虫
|
||||
*
|
||||
* @param deworm 驱虫
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDeworm(Deworm deworm)
|
||||
{
|
||||
deworm.setUpdateTime(DateUtils.getNowDate());
|
||||
return dewormMapper.updateDeworm(deworm);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除驱虫
|
||||
*
|
||||
* @param ids 需要删除的驱虫主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDewormByIds(Long[] ids)
|
||||
{
|
||||
return dewormMapper.deleteDewormByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除驱虫信息
|
||||
*
|
||||
* @param id 驱虫主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDewormById(Long id)
|
||||
{
|
||||
return dewormMapper.deleteDewormById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
package com.zhyc.module.biosafety.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import com.zhyc.module.biosafety.mapper.DiagnosisMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.biosafety.domain.Diagnosis;
|
||||
import com.zhyc.module.biosafety.service.IDiagnosisService;
|
||||
|
||||
/**
|
||||
* 诊疗结果Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@Service
|
||||
public class DiagnosisServiceImpl implements IDiagnosisService
|
||||
{
|
||||
@Autowired
|
||||
private DiagnosisMapper diagnosisMapper;
|
||||
|
||||
/**
|
||||
* 查询诊疗结果
|
||||
*
|
||||
* @param id 诊疗结果主键
|
||||
* @return 诊疗结果
|
||||
*/
|
||||
@Override
|
||||
public Diagnosis selectDiagnosisById(Long id)
|
||||
{
|
||||
return diagnosisMapper.selectDiagnosisById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询诊疗结果列表
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 诊疗结果
|
||||
*/
|
||||
@Override
|
||||
public List<Diagnosis> selectDiagnosisList(Diagnosis diagnosis)
|
||||
{
|
||||
return diagnosisMapper.selectDiagnosisList(diagnosis);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增诊疗结果
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDiagnosis(Diagnosis diagnosis)
|
||||
{
|
||||
diagnosis.setCreateTime(DateUtils.getNowDate());
|
||||
return diagnosisMapper.insertDiagnosis(diagnosis);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改诊疗结果
|
||||
*
|
||||
* @param diagnosis 诊疗结果
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDiagnosis(Diagnosis diagnosis)
|
||||
{
|
||||
return diagnosisMapper.updateDiagnosis(diagnosis);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除诊疗结果
|
||||
*
|
||||
* @param ids 需要删除的诊疗结果主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDiagnosisByIds(Long[] ids)
|
||||
{
|
||||
return diagnosisMapper.deleteDiagnosisByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除诊疗结果信息
|
||||
*
|
||||
* @param id 诊疗结果主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDiagnosisById(Long id)
|
||||
{
|
||||
return diagnosisMapper.deleteDiagnosisById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.zhyc.module.biosafety.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.biosafety.mapper.DisinfectMapper;
|
||||
import com.zhyc.module.biosafety.domain.Disinfect;
|
||||
import com.zhyc.module.biosafety.service.IDisinfectService;
|
||||
|
||||
/**
|
||||
* 消毒记录Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@Service
|
||||
public class DisinfectServiceImpl implements IDisinfectService
|
||||
{
|
||||
@Autowired
|
||||
private DisinfectMapper disinfectMapper;
|
||||
|
||||
/**
|
||||
* 查询消毒记录
|
||||
*
|
||||
* @param id 消毒记录主键
|
||||
* @return 消毒记录
|
||||
*/
|
||||
@Override
|
||||
public Disinfect selectDisinfectById(Long id)
|
||||
{
|
||||
return disinfectMapper.selectDisinfectById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询消毒记录列表
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 消毒记录
|
||||
*/
|
||||
@Override
|
||||
public List<Disinfect> selectDisinfectList(Disinfect disinfect)
|
||||
{
|
||||
return disinfectMapper.selectDisinfectList(disinfect);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增消毒记录
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDisinfect(Disinfect disinfect)
|
||||
{
|
||||
disinfect.setCreateTime(DateUtils.getNowDate());
|
||||
return disinfectMapper.insertDisinfect(disinfect);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改消毒记录
|
||||
*
|
||||
* @param disinfect 消毒记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDisinfect(Disinfect disinfect)
|
||||
{
|
||||
disinfect.setUpdateTime(DateUtils.getNowDate());
|
||||
return disinfectMapper.updateDisinfect(disinfect);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除消毒记录
|
||||
*
|
||||
* @param ids 需要删除的消毒记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDisinfectByIds(Long[] ids)
|
||||
{
|
||||
return disinfectMapper.deleteDisinfectByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除消毒记录信息
|
||||
*
|
||||
* @param id 消毒记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDisinfectById(Long id)
|
||||
{
|
||||
return disinfectMapper.deleteDisinfectById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.zhyc.module.biosafety.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.biosafety.mapper.HealthMapper;
|
||||
import com.zhyc.module.biosafety.domain.Health;
|
||||
import com.zhyc.module.biosafety.service.IHealthService;
|
||||
|
||||
/**
|
||||
* 保健Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@Service
|
||||
public class HealthServiceImpl implements IHealthService
|
||||
{
|
||||
@Autowired
|
||||
private HealthMapper healthMapper;
|
||||
|
||||
/**
|
||||
* 查询保健
|
||||
*
|
||||
* @param id 保健主键
|
||||
* @return 保健
|
||||
*/
|
||||
@Override
|
||||
public Health selectHealthById(Long id)
|
||||
{
|
||||
return healthMapper.selectHealthById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询保健列表
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 保健
|
||||
*/
|
||||
@Override
|
||||
public List<Health> selectHealthList(Health health)
|
||||
{
|
||||
return healthMapper.selectHealthList(health);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保健
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertHealth(Health health)
|
||||
{
|
||||
health.setCreateTime(DateUtils.getNowDate());
|
||||
return healthMapper.insertHealth(health);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保健
|
||||
*
|
||||
* @param health 保健
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateHealth(Health health)
|
||||
{
|
||||
health.setUpdateTime(DateUtils.getNowDate());
|
||||
return healthMapper.updateHealth(health);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除保健
|
||||
*
|
||||
* @param ids 需要删除的保健主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteHealthByIds(Long[] ids)
|
||||
{
|
||||
return healthMapper.deleteHealthByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除保健信息
|
||||
*
|
||||
* @param id 保健主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteHealthById(Long id)
|
||||
{
|
||||
return healthMapper.deleteHealthById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.zhyc.module.biosafety.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.biosafety.mapper.ImmunityMapper;
|
||||
import com.zhyc.module.biosafety.domain.Immunity;
|
||||
import com.zhyc.module.biosafety.service.IImmunityService;
|
||||
|
||||
/**
|
||||
* 免疫Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@Service
|
||||
public class ImmunityServiceImpl implements IImmunityService
|
||||
{
|
||||
@Autowired
|
||||
private ImmunityMapper immunityMapper;
|
||||
|
||||
/**
|
||||
* 查询免疫
|
||||
*
|
||||
* @param id 免疫主键
|
||||
* @return 免疫
|
||||
*/
|
||||
@Override
|
||||
public Immunity selectImmunityById(Long id)
|
||||
{
|
||||
return immunityMapper.selectImmunityById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询免疫列表
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 免疫
|
||||
*/
|
||||
@Override
|
||||
public List<Immunity> selectImmunityList(Immunity immunity)
|
||||
{
|
||||
return immunityMapper.selectImmunityList(immunity);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增免疫
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertImmunity(Immunity immunity)
|
||||
{
|
||||
immunity.setCreateTime(DateUtils.getNowDate());
|
||||
return immunityMapper.insertImmunity(immunity);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改免疫
|
||||
*
|
||||
* @param immunity 免疫
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateImmunity(Immunity immunity)
|
||||
{
|
||||
immunity.setUpdateTime(DateUtils.getNowDate());
|
||||
return immunityMapper.updateImmunity(immunity);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除免疫
|
||||
*
|
||||
* @param ids 需要删除的免疫主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteImmunityByIds(Long[] ids)
|
||||
{
|
||||
return immunityMapper.deleteImmunityByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除免疫信息
|
||||
*
|
||||
* @param id 免疫主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteImmunityById(Long id)
|
||||
{
|
||||
return immunityMapper.deleteImmunityById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.zhyc.module.biosafety.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.biosafety.mapper.TreatmentMapper;
|
||||
import com.zhyc.module.biosafety.domain.Treatment;
|
||||
import com.zhyc.module.biosafety.service.ITreatmentService;
|
||||
|
||||
/**
|
||||
* 治疗记录Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-07-15
|
||||
*/
|
||||
@Service
|
||||
public class TreatmentServiceImpl implements ITreatmentService
|
||||
{
|
||||
@Autowired
|
||||
private TreatmentMapper treatmentMapper;
|
||||
|
||||
/**
|
||||
* 查询治疗记录
|
||||
*
|
||||
* @param id 治疗记录主键
|
||||
* @return 治疗记录
|
||||
*/
|
||||
@Override
|
||||
public Treatment selectTreatmentById(Long id)
|
||||
{
|
||||
return treatmentMapper.selectTreatmentById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询治疗记录列表
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 治疗记录
|
||||
*/
|
||||
@Override
|
||||
public List<Treatment> selectTreatmentList(Treatment treatment)
|
||||
{
|
||||
return treatmentMapper.selectTreatmentList(treatment);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增治疗记录
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTreatment(Treatment treatment)
|
||||
{
|
||||
treatment.setCreateTime(DateUtils.getNowDate());
|
||||
return treatmentMapper.insertTreatment(treatment);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改治疗记录
|
||||
*
|
||||
* @param treatment 治疗记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTreatment(Treatment treatment)
|
||||
{
|
||||
treatment.setUpdateTime(DateUtils.getNowDate());
|
||||
return treatmentMapper.updateTreatment(treatment);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除治疗记录
|
||||
*
|
||||
* @param ids 需要删除的治疗记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTreatmentByIds(Long[] ids)
|
||||
{
|
||||
return treatmentMapper.deleteTreatmentByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除治疗记录信息
|
||||
*
|
||||
* @param id 治疗记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTreatmentById(Long id)
|
||||
{
|
||||
return treatmentMapper.deleteTreatmentById(id);
|
||||
}
|
||||
}
|
110
zhyc-module/src/main/resources/mapper/biosafety/DewormMapper.xml
Normal file
110
zhyc-module/src/main/resources/mapper/biosafety/DewormMapper.xml
Normal file
@ -0,0 +1,110 @@
|
||||
<?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.zhyc.module.biosafety.mapper.DewormMapper">
|
||||
|
||||
<resultMap type="Deworm" id="DewormResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="sheepId" column="sheep_id" />
|
||||
<result property="usageId" column="usage_id" />
|
||||
<result property="variety" column="variety" />
|
||||
<result property="sheepType" column="sheep_type" />
|
||||
<result property="gender" column="gender" />
|
||||
<result property="monthAge" column="month_age" />
|
||||
<result property="parity" column="parity" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="technical" column="technical" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDewormVo">
|
||||
select id, sheep_id, usage_id, variety, sheep_type, gender, month_age, parity, datetime, technical, comment, update_by, update_time, create_by, create_time from sw_deworm
|
||||
</sql>
|
||||
|
||||
<select id="selectDewormList" parameterType="Deworm" resultMap="DewormResult">
|
||||
<include refid="selectDewormVo"/>
|
||||
<where>
|
||||
<if test="sheepId != null "> and sheep_id = #{sheepId}</if>
|
||||
<if test="params.beginDatetime != null and params.beginDatetime != '' and params.endDatetime != null and params.endDatetime != ''"> and datetime between #{params.beginDatetime} and #{params.endDatetime}</if>
|
||||
<if test="technical != null and technical != ''"> and technical = #{technical}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectDewormById" parameterType="Long" resultMap="DewormResult">
|
||||
<include refid="selectDewormVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertDeworm" parameterType="Deworm" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sw_deworm
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="sheepId != null">sheep_id,</if>
|
||||
<if test="usageId != null">usage_id,</if>
|
||||
<if test="variety != null">variety,</if>
|
||||
<if test="sheepType != null">sheep_type,</if>
|
||||
<if test="gender != null">gender,</if>
|
||||
<if test="monthAge != null">month_age,</if>
|
||||
<if test="parity != null">parity,</if>
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="technical != null">technical,</if>
|
||||
<if test="comment != null">comment,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sheepId != null">#{sheepId},</if>
|
||||
<if test="usageId != null">#{usageId},</if>
|
||||
<if test="variety != null">#{variety},</if>
|
||||
<if test="sheepType != null">#{sheepType},</if>
|
||||
<if test="gender != null">#{gender},</if>
|
||||
<if test="monthAge != null">#{monthAge},</if>
|
||||
<if test="parity != null">#{parity},</if>
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="technical != null">#{technical},</if>
|
||||
<if test="comment != null">#{comment},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateDeworm" parameterType="Deworm">
|
||||
update sw_deworm
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="sheepId != null">sheep_id = #{sheepId},</if>
|
||||
<if test="usageId != null">usage_id = #{usageId},</if>
|
||||
<if test="variety != null">variety = #{variety},</if>
|
||||
<if test="sheepType != null">sheep_type = #{sheepType},</if>
|
||||
<if test="gender != null">gender = #{gender},</if>
|
||||
<if test="monthAge != null">month_age = #{monthAge},</if>
|
||||
<if test="parity != null">parity = #{parity},</if>
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="technical != null">technical = #{technical},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteDewormById" parameterType="Long">
|
||||
delete from sw_deworm where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDewormByIds" parameterType="String">
|
||||
delete from sw_deworm where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,118 @@
|
||||
<?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.zhyc.module.biosafety.mapper.DiagnosisMapper">
|
||||
|
||||
<resultMap type="Diagnosis" id="DiagnosisResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="treatId" column="treat_id" />
|
||||
<result property="sheepId" column="sheep_id" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="sheepType" column="sheep_type" />
|
||||
<result property="gender" column="gender" />
|
||||
<result property="parity" column="parity" />
|
||||
<result property="diseasePid" column="disease_pid" />
|
||||
<result property="diseaseId" column="disease_id" />
|
||||
<result property="result" column="result" />
|
||||
<result property="begindate" column="begindate" />
|
||||
<result property="enddate" column="enddate" />
|
||||
<result property="treatDay" column="treat_day" />
|
||||
<result property="sheepfoldId" column="sheepfold_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDiagnosisVo">
|
||||
select id, treat_id, sheep_id, datetime, sheep_type, gender, parity, disease_pid, disease_id, result, begindate, enddate, treat_day, sheepfold_id, create_by, create_time from sw_diagnosis
|
||||
</sql>
|
||||
|
||||
<select id="selectDiagnosisList" parameterType="Diagnosis" resultMap="DiagnosisResult">
|
||||
<include refid="selectDiagnosisVo"/>
|
||||
<where>
|
||||
<if test="sheepId != null "> and sheep_id = #{sheepId}</if>
|
||||
<if test="params.beginDatetime != null and params.beginDatetime != '' and params.endDatetime != null and params.endDatetime != ''"> and datetime between #{params.beginDatetime} and #{params.endDatetime}</if>
|
||||
<if test="diseasePid != null "> and disease_pid = #{diseasePid}</if>
|
||||
<if test="diseaseId != null "> and disease_id = #{diseaseId}</if>
|
||||
<if test="result != null "> and result = #{result}</if>
|
||||
<if test="treatDay != null "> and treat_day = #{treatDay}</if>
|
||||
<if test="sheepfoldId != null "> and sheepfold_id = #{sheepfoldId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectDiagnosisById" parameterType="Long" resultMap="DiagnosisResult">
|
||||
<include refid="selectDiagnosisVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertDiagnosis" parameterType="Diagnosis" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sw_diagnosis
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="treatId != null">treat_id,</if>
|
||||
<if test="sheepId != null">sheep_id,</if>
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="sheepType != null">sheep_type,</if>
|
||||
<if test="gender != null">gender,</if>
|
||||
<if test="parity != null">parity,</if>
|
||||
<if test="diseasePid != null">disease_pid,</if>
|
||||
<if test="diseaseId != null">disease_id,</if>
|
||||
<if test="result != null">result,</if>
|
||||
<if test="begindate != null">begindate,</if>
|
||||
<if test="enddate != null">enddate,</if>
|
||||
<if test="treatDay != null">treat_day,</if>
|
||||
<if test="sheepfoldId != null">sheepfold_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="treatId != null">#{treatId},</if>
|
||||
<if test="sheepId != null">#{sheepId},</if>
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="sheepType != null">#{sheepType},</if>
|
||||
<if test="gender != null">#{gender},</if>
|
||||
<if test="parity != null">#{parity},</if>
|
||||
<if test="diseasePid != null">#{diseasePid},</if>
|
||||
<if test="diseaseId != null">#{diseaseId},</if>
|
||||
<if test="result != null">#{result},</if>
|
||||
<if test="begindate != null">#{begindate},</if>
|
||||
<if test="enddate != null">#{enddate},</if>
|
||||
<if test="treatDay != null">#{treatDay},</if>
|
||||
<if test="sheepfoldId != null">#{sheepfoldId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateDiagnosis" parameterType="Diagnosis">
|
||||
update sw_diagnosis
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="treatId != null">treat_id = #{treatId},</if>
|
||||
<if test="sheepId != null">sheep_id = #{sheepId},</if>
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="sheepType != null">sheep_type = #{sheepType},</if>
|
||||
<if test="gender != null">gender = #{gender},</if>
|
||||
<if test="parity != null">parity = #{parity},</if>
|
||||
<if test="diseasePid != null">disease_pid = #{diseasePid},</if>
|
||||
<if test="diseaseId != null">disease_id = #{diseaseId},</if>
|
||||
<if test="result != null">result = #{result},</if>
|
||||
<if test="begindate != null">begindate = #{begindate},</if>
|
||||
<if test="enddate != null">enddate = #{enddate},</if>
|
||||
<if test="treatDay != null">treat_day = #{treatDay},</if>
|
||||
<if test="sheepfoldId != null">sheepfold_id = #{sheepfoldId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteDiagnosisById" parameterType="Long">
|
||||
delete from sw_diagnosis where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDiagnosisByIds" parameterType="String">
|
||||
delete from sw_diagnosis where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,102 @@
|
||||
<?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.zhyc.module.biosafety.mapper.DisinfectMapper">
|
||||
|
||||
<resultMap type="Disinfect" id="DisinfectResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="sheepfoldId" column="sheepfold_id" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="technician" column="technician" />
|
||||
<result property="way" column="way" />
|
||||
<result property="usageId" column="usage_id" />
|
||||
<result property="ratio" column="ratio" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDisinfectVo">
|
||||
select id, sheepfold_id, datetime, technician, way, usage_id, ratio, comment, update_by, update_time, create_by, create_time from sw_disinfect
|
||||
</sql>
|
||||
|
||||
<select id="selectDisinfectList" parameterType="Disinfect" resultMap="DisinfectResult">
|
||||
<include refid="selectDisinfectVo"/>
|
||||
<where>
|
||||
<if test="sheepfoldId != null "> and sheepfold_id = #{sheepfoldId}</if>
|
||||
<if test="datetime != null "> and datetime = #{datetime}</if>
|
||||
<if test="technician != null and technician != ''"> and technician = #{technician}</if>
|
||||
<if test="way != null and way != ''"> and way = #{way}</if>
|
||||
<if test="usageId != null "> and usage_id = #{usageId}</if>
|
||||
<if test="ratio != null and ratio != ''"> and ratio = #{ratio}</if>
|
||||
<if test="comment != null and comment != ''"> and comment = #{comment}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectDisinfectById" parameterType="Long" resultMap="DisinfectResult">
|
||||
<include refid="selectDisinfectVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertDisinfect" parameterType="Disinfect" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sw_disinfect
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="sheepfoldId != null">sheepfold_id,</if>
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="technician != null">technician,</if>
|
||||
<if test="way != null">way,</if>
|
||||
<if test="usageId != null">usage_id,</if>
|
||||
<if test="ratio != null">ratio,</if>
|
||||
<if test="comment != null">comment,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sheepfoldId != null">#{sheepfoldId},</if>
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="technician != null">#{technician},</if>
|
||||
<if test="way != null">#{way},</if>
|
||||
<if test="usageId != null">#{usageId},</if>
|
||||
<if test="ratio != null">#{ratio},</if>
|
||||
<if test="comment != null">#{comment},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateDisinfect" parameterType="Disinfect">
|
||||
update sw_disinfect
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="sheepfoldId != null">sheepfold_id = #{sheepfoldId},</if>
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="technician != null">technician = #{technician},</if>
|
||||
<if test="way != null">way = #{way},</if>
|
||||
<if test="usageId != null">usage_id = #{usageId},</if>
|
||||
<if test="ratio != null">ratio = #{ratio},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteDisinfectById" parameterType="Long">
|
||||
delete from sw_disinfect where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteDisinfectByIds" parameterType="String">
|
||||
delete from sw_disinfect where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
113
zhyc-module/src/main/resources/mapper/biosafety/HealthMapper.xml
Normal file
113
zhyc-module/src/main/resources/mapper/biosafety/HealthMapper.xml
Normal file
@ -0,0 +1,113 @@
|
||||
<?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.zhyc.module.biosafety.mapper.HealthMapper">
|
||||
|
||||
<resultMap type="Health" id="HealthResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="sheepId" column="sheep_id" />
|
||||
<result property="usageId" column="usage_id" />
|
||||
<result property="variety" column="variety" />
|
||||
<result property="sheepType" column="sheep_type" />
|
||||
<result property="gender" column="gender" />
|
||||
<result property="monthAge" column="month_age" />
|
||||
<result property="parity" column="parity" />
|
||||
<result property="sheepfoldId" column="sheepfold_id" />
|
||||
<result property="technical" column="technical" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectHealthVo">
|
||||
select id, datetime, sheep_id, usage_id, variety, sheep_type, gender, month_age, parity, sheepfold_id, technical, comment, update_by, update_time, create_by, create_time from sw_health
|
||||
</sql>
|
||||
|
||||
<select id="selectHealthList" parameterType="Health" resultMap="HealthResult">
|
||||
<include refid="selectHealthVo"/>
|
||||
<where>
|
||||
<if test="datetime != null "> and datetime = #{datetime}</if>
|
||||
<if test="technical != null and technical != ''"> and technical = #{technical}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectHealthById" parameterType="Long" resultMap="HealthResult">
|
||||
<include refid="selectHealthVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertHealth" parameterType="Health" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sw_health
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="sheepId != null">sheep_id,</if>
|
||||
<if test="usageId != null">usage_id,</if>
|
||||
<if test="variety != null">variety,</if>
|
||||
<if test="sheepType != null">sheep_type,</if>
|
||||
<if test="gender != null">gender,</if>
|
||||
<if test="monthAge != null">month_age,</if>
|
||||
<if test="parity != null">parity,</if>
|
||||
<if test="sheepfoldId != null">sheepfold_id,</if>
|
||||
<if test="technical != null">technical,</if>
|
||||
<if test="comment != null">comment,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="sheepId != null">#{sheepId},</if>
|
||||
<if test="usageId != null">#{usageId},</if>
|
||||
<if test="variety != null">#{variety},</if>
|
||||
<if test="sheepType != null">#{sheepType},</if>
|
||||
<if test="gender != null">#{gender},</if>
|
||||
<if test="monthAge != null">#{monthAge},</if>
|
||||
<if test="parity != null">#{parity},</if>
|
||||
<if test="sheepfoldId != null">#{sheepfoldId},</if>
|
||||
<if test="technical != null">#{technical},</if>
|
||||
<if test="comment != null">#{comment},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateHealth" parameterType="Health">
|
||||
update sw_health
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="sheepId != null">sheep_id = #{sheepId},</if>
|
||||
<if test="usageId != null">usage_id = #{usageId},</if>
|
||||
<if test="variety != null">variety = #{variety},</if>
|
||||
<if test="sheepType != null">sheep_type = #{sheepType},</if>
|
||||
<if test="gender != null">gender = #{gender},</if>
|
||||
<if test="monthAge != null">month_age = #{monthAge},</if>
|
||||
<if test="parity != null">parity = #{parity},</if>
|
||||
<if test="sheepfoldId != null">sheepfold_id = #{sheepfoldId},</if>
|
||||
<if test="technical != null">technical = #{technical},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteHealthById" parameterType="Long">
|
||||
delete from sw_health where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteHealthByIds" parameterType="String">
|
||||
delete from sw_health where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,115 @@
|
||||
<?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.zhyc.module.biosafety.mapper.ImmunityMapper">
|
||||
|
||||
<resultMap type="Immunity" id="ImmunityResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="sheepId" column="sheep_id" />
|
||||
<result property="usageId" column="usage_id" />
|
||||
<result property="variety" column="variety" />
|
||||
<result property="sheepType" column="sheep_type" />
|
||||
<result property="gender" column="gender" />
|
||||
<result property="monthAge" column="month_age" />
|
||||
<result property="parity" column="parity" />
|
||||
<result property="sheepfoldId" column="sheepfold_id" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="technical" column="technical" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectImmunityVo">
|
||||
select id, sheep_id, usage_id, variety, sheep_type, gender, month_age, parity, sheepfold_id, datetime, technical, comment, update_by, update_time, create_by, create_time from sw_immunity
|
||||
</sql>
|
||||
|
||||
<select id="selectImmunityList" parameterType="Immunity" resultMap="ImmunityResult">
|
||||
<include refid="selectImmunityVo"/>
|
||||
<where>
|
||||
<if test="sheepId != null "> and sheep_id = #{sheepId}</if>
|
||||
<if test="sheepType != null "> and sheep_type = #{sheepType}</if>
|
||||
<if test="params.beginDatetime != null and params.beginDatetime != '' and params.endDatetime != null and params.endDatetime != ''"> and datetime between #{params.beginDatetime} and #{params.endDatetime}</if>
|
||||
<if test="technical != null and technical != ''"> and technical = #{technical}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectImmunityById" parameterType="Long" resultMap="ImmunityResult">
|
||||
<include refid="selectImmunityVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertImmunity" parameterType="Immunity" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sw_immunity
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="sheepId != null">sheep_id,</if>
|
||||
<if test="usageId != null">usage_id,</if>
|
||||
<if test="variety != null">variety,</if>
|
||||
<if test="sheepType != null">sheep_type,</if>
|
||||
<if test="gender != null">gender,</if>
|
||||
<if test="monthAge != null">month_age,</if>
|
||||
<if test="parity != null">parity,</if>
|
||||
<if test="sheepfoldId != null">sheepfold_id,</if>
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="technical != null">technical,</if>
|
||||
<if test="comment != null">comment,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sheepId != null">#{sheepId},</if>
|
||||
<if test="usageId != null">#{usageId},</if>
|
||||
<if test="variety != null">#{variety},</if>
|
||||
<if test="sheepType != null">#{sheepType},</if>
|
||||
<if test="gender != null">#{gender},</if>
|
||||
<if test="monthAge != null">#{monthAge},</if>
|
||||
<if test="parity != null">#{parity},</if>
|
||||
<if test="sheepfoldId != null">#{sheepfoldId},</if>
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="technical != null">#{technical},</if>
|
||||
<if test="comment != null">#{comment},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateImmunity" parameterType="Immunity">
|
||||
update sw_immunity
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="sheepId != null">sheep_id = #{sheepId},</if>
|
||||
<if test="usageId != null">usage_id = #{usageId},</if>
|
||||
<if test="variety != null">variety = #{variety},</if>
|
||||
<if test="sheepType != null">sheep_type = #{sheepType},</if>
|
||||
<if test="gender != null">gender = #{gender},</if>
|
||||
<if test="monthAge != null">month_age = #{monthAge},</if>
|
||||
<if test="parity != null">parity = #{parity},</if>
|
||||
<if test="sheepfoldId != null">sheepfold_id = #{sheepfoldId},</if>
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="technical != null">technical = #{technical},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteImmunityById" parameterType="Long">
|
||||
delete from sw_immunity where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteImmunityByIds" parameterType="String">
|
||||
delete from sw_immunity where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,135 @@
|
||||
<?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.zhyc.module.biosafety.mapper.TreatmentMapper">
|
||||
|
||||
<resultMap type="Treatment" id="TreatmentResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="diagId" column="diag_id" />
|
||||
<result property="sheepId" column="sheep_id" />
|
||||
<result property="variety" column="variety" />
|
||||
<result property="sheepType" column="sheep_type" />
|
||||
<result property="monthAge" column="month_age" />
|
||||
<result property="gender" column="gender" />
|
||||
<result property="parity" column="parity" />
|
||||
<result property="breed" column="breed" />
|
||||
<result property="lactDay" column="lact_day" />
|
||||
<result property="gestDay" column="gest_day" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="diseaseId" column="disease_id" />
|
||||
<result property="diseasePid" column="disease_pid" />
|
||||
<result property="veterinary" column="veterinary" />
|
||||
<result property="usageId" column="usage_id" />
|
||||
<result property="comment" column="comment" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTreatmentVo">
|
||||
select id, diag_id, sheep_id, variety, sheep_type, month_age, gender, parity, breed, lact_day, gest_day, datetime, disease_id, disease_pid, veterinary, usage_id, comment, update_by, update_time, create_by, create_time from sw_treatment
|
||||
</sql>
|
||||
|
||||
<select id="selectTreatmentList" parameterType="Treatment" resultMap="TreatmentResult">
|
||||
<include refid="selectTreatmentVo"/>
|
||||
<where>
|
||||
<if test="sheepId != null "> and sheep_id = #{sheepId}</if>
|
||||
<if test="params.beginDatetime != null and params.beginDatetime != '' and params.endDatetime != null and params.endDatetime != ''"> and datetime between #{params.beginDatetime} and #{params.endDatetime}</if>
|
||||
<if test="diseaseId != null "> and disease_id = #{diseaseId}</if>
|
||||
<if test="veterinary != null and veterinary != ''"> and veterinary = #{veterinary}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTreatmentById" parameterType="Long" resultMap="TreatmentResult">
|
||||
<include refid="selectTreatmentVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTreatment" parameterType="Treatment" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sw_treatment
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="diagId != null">diag_id,</if>
|
||||
<if test="sheepId != null">sheep_id,</if>
|
||||
<if test="variety != null">variety,</if>
|
||||
<if test="sheepType != null">sheep_type,</if>
|
||||
<if test="monthAge != null">month_age,</if>
|
||||
<if test="gender != null">gender,</if>
|
||||
<if test="parity != null">parity,</if>
|
||||
<if test="breed != null">breed,</if>
|
||||
<if test="lactDay != null">lact_day,</if>
|
||||
<if test="gestDay != null">gest_day,</if>
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="diseaseId != null">disease_id,</if>
|
||||
<if test="diseasePid != null">disease_pid,</if>
|
||||
<if test="veterinary != null">veterinary,</if>
|
||||
<if test="usageId != null">usage_id,</if>
|
||||
<if test="comment != null">comment,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="diagId != null">#{diagId},</if>
|
||||
<if test="sheepId != null">#{sheepId},</if>
|
||||
<if test="variety != null">#{variety},</if>
|
||||
<if test="sheepType != null">#{sheepType},</if>
|
||||
<if test="monthAge != null">#{monthAge},</if>
|
||||
<if test="gender != null">#{gender},</if>
|
||||
<if test="parity != null">#{parity},</if>
|
||||
<if test="breed != null">#{breed},</if>
|
||||
<if test="lactDay != null">#{lactDay},</if>
|
||||
<if test="gestDay != null">#{gestDay},</if>
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="diseaseId != null">#{diseaseId},</if>
|
||||
<if test="diseasePid != null">#{diseasePid},</if>
|
||||
<if test="veterinary != null">#{veterinary},</if>
|
||||
<if test="usageId != null">#{usageId},</if>
|
||||
<if test="comment != null">#{comment},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTreatment" parameterType="Treatment">
|
||||
update sw_treatment
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="diagId != null">diag_id = #{diagId},</if>
|
||||
<if test="sheepId != null">sheep_id = #{sheepId},</if>
|
||||
<if test="variety != null">variety = #{variety},</if>
|
||||
<if test="sheepType != null">sheep_type = #{sheepType},</if>
|
||||
<if test="monthAge != null">month_age = #{monthAge},</if>
|
||||
<if test="gender != null">gender = #{gender},</if>
|
||||
<if test="parity != null">parity = #{parity},</if>
|
||||
<if test="breed != null">breed = #{breed},</if>
|
||||
<if test="lactDay != null">lact_day = #{lactDay},</if>
|
||||
<if test="gestDay != null">gest_day = #{gestDay},</if>
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="diseaseId != null">disease_id = #{diseaseId},</if>
|
||||
<if test="diseasePid != null">disease_pid = #{diseasePid},</if>
|
||||
<if test="veterinary != null">veterinary = #{veterinary},</if>
|
||||
<if test="usageId != null">usage_id = #{usageId},</if>
|
||||
<if test="comment != null">comment = #{comment},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTreatmentById" parameterType="Long">
|
||||
delete from sw_treatment where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTreatmentByIds" parameterType="String">
|
||||
delete from sw_treatment where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
x
Reference in New Issue
Block a user