delete_flag修改

This commit is contained in:
Wang.Huan
2025-02-21 16:38:45 +08:00
parent a886e765f4
commit 4b4ed11679
7 changed files with 13 additions and 141 deletions

View File

@@ -1,12 +1,9 @@
package com.openhis.medication.mapper;
import com.baomidou.mybatisplus.annotation.TableName;
import com.core.common.biz.HisBaseMapper;
import com.openhis.medication.domain.MedicationDetail;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openhis.medication.domain.Medication;
import com.openhis.medication.domain.MedicationDetail;
import org.springframework.stereotype.Repository;
import java.util.List;
@@ -16,9 +13,8 @@ import java.util.List;
* @author system
* @date 2025-02-20
*/
@TableName("med_medication")
@Repository
public interface MedicationMapper extends HisBaseMapper<Medication> {
public interface MedicationMapper extends BaseMapper<Medication> {
/**
* 查询药品详细信息列表

View File

@@ -1,6 +1,6 @@
package com.openhis.medication.service;
import com.core.common.biz.HisBaseService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.openhis.medication.domain.Medication;
import com.openhis.medication.domain.MedicationDetail;
@@ -12,7 +12,7 @@ import java.util.List;
* @author system
* @date 2025-02-20
*/
public interface IMedicationService extends HisBaseService<Medication> {
public interface IMedicationService extends IService<Medication> {
/**
* 查询药品信息列表

View File

@@ -1,11 +1,5 @@
package com.openhis.medication.service.impl;
import java.util.List;
import com.core.common.biz.HisBaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.openhis.common.enums.DelFlag;
@@ -13,8 +7,11 @@ import com.openhis.medication.domain.Medication;
import com.openhis.medication.domain.MedicationDetail;
import com.openhis.medication.mapper.MedicationMapper;
import com.openhis.medication.service.IMedicationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* 药品基本信息管理Service业务层处理
@@ -24,7 +21,7 @@ import lombok.extern.slf4j.Slf4j;
*/
@Slf4j
@Service
public class MedicationServiceImpl extends HisBaseServiceImpl<MedicationMapper, Medication> implements IMedicationService {
public class MedicationServiceImpl extends ServiceImpl<MedicationMapper, Medication> implements IMedicationService {
@Autowired
private MedicationMapper medicationMapper;