业务结构调整
This commit is contained in:
parent
6db5787f8e
commit
862c86d130
@ -1,7 +1,10 @@
|
||||
package com.zhyc.module.produce.pregnancy.controller;
|
||||
package com.zhyc.module.produce.breed.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhyc.module.produce.breed.domain.ScPregnancyRecord;
|
||||
import com.zhyc.module.produce.breed.service.IScPregnancyRecordService;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
@ -16,8 +19,7 @@ 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.produce.pregnancy.domain.ScPregnancyRecord;
|
||||
import com.zhyc.module.produce.pregnancy.service.IScPregnancyRecordService;
|
||||
|
||||
import com.zhyc.common.utils.poi.ExcelUtil;
|
||||
import com.zhyc.common.core.page.TableDataInfo;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.zhyc.module.produce.pregnancy.domain;
|
||||
package com.zhyc.module.produce.breed.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
@ -1,7 +1,8 @@
|
||||
package com.zhyc.module.produce.pregnancy.mapper;
|
||||
package com.zhyc.module.produce.breed.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.produce.pregnancy.domain.ScPregnancyRecord;
|
||||
|
||||
import com.zhyc.module.produce.breed.domain.ScPregnancyRecord;
|
||||
|
||||
/**
|
||||
* 孕检记录Mapper接口
|
@ -1,7 +1,9 @@
|
||||
package com.zhyc.module.produce.pregnancy.service;
|
||||
package com.zhyc.module.produce.breed.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.module.produce.pregnancy.domain.ScPregnancyRecord;
|
||||
|
||||
import com.zhyc.module.produce.breed.domain.ScPregnancyRecord;
|
||||
|
||||
|
||||
/**
|
||||
* 孕检记录Service接口
|
@ -1,12 +1,13 @@
|
||||
package com.zhyc.module.produce.pregnancy.service.impl;
|
||||
package com.zhyc.module.produce.breed.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.zhyc.common.utils.DateUtils;
|
||||
import com.zhyc.module.produce.breed.domain.ScPregnancyRecord;
|
||||
import com.zhyc.module.produce.breed.mapper.ScPregnancyRecordMapper;
|
||||
import com.zhyc.module.produce.breed.service.IScPregnancyRecordService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.zhyc.module.produce.pregnancy.mapper.ScPregnancyRecordMapper;
|
||||
import com.zhyc.module.produce.pregnancy.domain.ScPregnancyRecord;
|
||||
import com.zhyc.module.produce.pregnancy.service.IScPregnancyRecordService;
|
||||
|
||||
|
||||
/**
|
||||
* 孕检记录Service业务层处理
|
||||
@ -15,7 +16,7 @@ import com.zhyc.module.produce.pregnancy.service.IScPregnancyRecordService;
|
||||
* @date 2025-07-17
|
||||
*/
|
||||
@Service
|
||||
public class ScPregnancyRecordServiceImpl implements IScPregnancyRecordService
|
||||
public class ScPregnancyRecordServiceImpl implements IScPregnancyRecordService
|
||||
{
|
||||
@Autowired
|
||||
private ScPregnancyRecordMapper scPregnancyRecordMapper;
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.zhyc.module.produce.pregnancy.mapper.ScPregnancyRecordMapper">
|
||||
<mapper namespace="com.zhyc.module.produce.breed.mapper.ScPregnancyRecordMapper">
|
||||
|
||||
<resultMap type="ScPregnancyRecord" id="ScPregnancyRecordResult">
|
||||
<result property="id" column="id" />
|
Loading…
x
Reference in New Issue
Block a user