From 9597821e57d4bad1ea4e984241f363be956dda8c Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期四, 03 七月 2025 18:21:33 +0800 Subject: [PATCH] zjh20250703 --- ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/ApiJcycpdgjzServiceImpl.java | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 98 insertions(+), 0 deletions(-) diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/ApiJcycpdgjzServiceImpl.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/ApiJcycpdgjzServiceImpl.java new file mode 100644 index 0000000..dbb81a6 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/service/impl/ApiJcycpdgjzServiceImpl.java @@ -0,0 +1,98 @@ +package com.ltkj.hosp.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.ltkj.common.utils.DateUtils; +import com.ltkj.hosp.domain.ApiJcycpdgjz; +import com.ltkj.hosp.mapper.ApiJcycpdgjzMapper; +import com.ltkj.hosp.service.ApiJcycpdgjzService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * ClassName: ApiJcycpdgjzServiceImpl <br/> + * Description: <br/> + * date: 2025/7/3 15:06<br/> + * + * @author zjh<br /> + */ + +@Service +public class ApiJcycpdgjzServiceImpl extends ServiceImpl<ApiJcycpdgjzMapper, ApiJcycpdgjz> implements ApiJcycpdgjzService { + @Autowired + private ApiJcycpdgjzMapper apiJcycpdgjzMapper; + + /** + * 鏌ヨ鍏抽敭瀛� + * + * @param id 鍏抽敭瀛椾富閿� + * @return 鍏抽敭瀛� + */ + @Override + public ApiJcycpdgjz selectApiJcycpdgjzById(Long id) { + return apiJcycpdgjzMapper.selectApiJcycpdgjzById(id); + } + + /** + * 鏌ヨ鍏抽敭瀛楀垪琛� + * + * @param apiJcycpdgjz 鍏抽敭瀛� + * @return 鍏抽敭瀛� + */ + @Override + public List<ApiJcycpdgjz> selectApiJcycpdgjzList(ApiJcycpdgjz apiJcycpdgjz) { + return apiJcycpdgjzMapper.selectApiJcycpdgjzList(apiJcycpdgjz); + } + + /** + * 鏂板鍏抽敭瀛� + * + * @param apiJcycpdgjz 鍏抽敭瀛� + * @return 缁撴灉 + */ + @Override + public int insertApiJcycpdgjz(ApiJcycpdgjz apiJcycpdgjz) { + apiJcycpdgjz.setCreateTime(DateUtils.getNowDate()); + return apiJcycpdgjzMapper.insertApiJcycpdgjz(apiJcycpdgjz); + } + + /** + * 淇敼鍏抽敭瀛� + * + * @param apiJcycpdgjz 鍏抽敭瀛� + * @return 缁撴灉 + */ + @Override + public int updateApiJcycpdgjz(ApiJcycpdgjz apiJcycpdgjz) { + apiJcycpdgjz.setUpdateTime(DateUtils.getNowDate()); + return apiJcycpdgjzMapper.updateApiJcycpdgjz(apiJcycpdgjz); + } + + /** + * 鎵归噺鍒犻櫎鍏抽敭瀛� + * + * @param ids 闇�瑕佸垹闄ょ殑鍏抽敭瀛椾富閿� + * @return 缁撴灉 + */ + @Override + public int deleteApiJcycpdgjzByIds(Long[] ids) { + return apiJcycpdgjzMapper.deleteApiJcycpdgjzByIds(ids); + } + + /** + * 鍒犻櫎鍏抽敭瀛椾俊鎭� + * + * @param id 鍏抽敭瀛椾富閿� + * @return 缁撴灉 + */ + @Override + public int deleteApiJcycpdgjzById(Long id) { + return apiJcycpdgjzMapper.deleteApiJcycpdgjzById(id); + } + + @Override + public List<String> getGjzList() { + return apiJcycpdgjzMapper.getGjzList(); + } +} -- Gitblit v1.8.0