All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.founder.core.mapper.MzDetailChargeMapper Maven / Gradle / Ivy

There is a newer version: 3.2.3.2
Show newest version
package com.founder.core.mapper;

import com.founder.core.domain.MzDetailCharge;
import com.founder.core.domain.MzDetailChargeExample;
import com.founder.core.domain.MzDetailChargeKey;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.mapping.StatementType;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface MzDetailChargeMapper {
    int countByExample(MzDetailChargeExample example);

    int deleteByExample(MzDetailChargeExample example);

    int deleteByPrimaryKey(MzDetailChargeKey key);

    int insert(MzDetailCharge record);

    int insertSelective(MzDetailCharge record);

    List selectByExample(MzDetailChargeExample example);

    MzDetailCharge selectByPrimaryKey(MzDetailChargeKey key);

    int updateByExampleSelective(@Param("record") MzDetailCharge record, @Param("example") MzDetailChargeExample example);

    int updateByExample(@Param("record") MzDetailCharge record, @Param("example") MzDetailChargeExample example);

    int updateByPrimaryKeySelective(MzDetailCharge record);

    int updateByPrimaryKey(MzDetailCharge record);

    @Select("EXEC jms_getMzChargeDetail #{patient_id},#{times},#{query_type},#{start_date},#{end_date}")
    @ResultMap({"mzDetailChargeSub", "mzDetailCharge"})
    @Options(statementType = StatementType.CALLABLE)
    List>> jms_getMzChargeDetail(@Param("patient_id") String patient_id, @Param("times") String times, @Param("query_type") String query_type, @Param("start_date") String start_date, @Param("end_date") String end_date);

    //@Select("EXEC jms_get_mz_detail_charge #{patient_id},#{times},#{charge_status}")
    //List jms_get_mz_detail_charge(@Param("patient_id") String patient_id, @Param("times") Integer times, @Param("charge_status") String charge_status);

    @Select("EXEC jms_update_mz_detail_charge #{patient_id},#{times},#{ledger_sn},#{order_type},#{order_no},#{item_no}")
    MzDetailCharge jms_update_mz_detail_charge(@Param("patient_id") String patient_id, @Param("times") Integer times, @Param("ledger_sn") Short ledger_sn, @Param("order_type") String order_type, @Param("order_no") Short order_no, @Param("item_no") Short item_no);

    //@Select("EXEC jms_mz_get_charge_divide_pre #{patient_id},#{mzsxh},#{charge_fee},#{mt_flag},#{subsys_id}")
    //@ResultMap({"mzDetailChargeDevide"})
    //@Options(statementType = StatementType.CALLABLE)
    //MzDetailChargeDevide jms_mz_get_charge_divide_pre(@Param("patient_id") String patient_id, @Param("mzsxh") String mzsxh, @Param("charge_fee") BigDecimal charge_fee, @Param("mt_flag") String mt_flag, @Param("subsys_id") String subsys_id);

    //@Select("EXEC jms_mz_get_charge_divide #{patient_id},#{mzsxh},#{charge_fee},#{mt_flag},#{subsys_id}")
    //@ResultMap({"mzDetailChargeDevide"})
    //@Options(statementType = StatementType.CALLABLE)
    //MzDetailChargeDevide jms_mz_get_charge_divide(@Param("patient_id") String patient_id, @Param("mzsxh") String mzsxh, @Param("charge_fee") BigDecimal charge_fee, @Param("mt_flag") String mt_flag, @Param("subsys_id") String subsys_id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy