|
@@ -5,6 +5,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
import org.apache.ibatis.annotations.Update;
|
|
|
+import thyyxxk.webserver.entity.dictionary.ChargeItemMatch;
|
|
|
import thyyxxk.webserver.entity.nationalmatch.*;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -117,13 +118,14 @@ public interface NationalMatchDao {
|
|
|
@Param("nationalCode") String nationalCode,
|
|
|
@Param("nationalName") String nationalName);
|
|
|
|
|
|
+ @Select("select code as nationalCode,descriptions,exclude_content,connotation from t_si_dl_mdcn_srvc where code=#{code}")
|
|
|
+ ChargeItemMatch selectServiceAbout(@Param("code") String code);
|
|
|
+
|
|
|
@Update("update zd_charge_item set national_status=1,national_code=#{nationalCode}," +
|
|
|
- "national_name=#{nationalName},match_oper=#{staffId},match_date=getdate() " +
|
|
|
- "where code=#{code}")
|
|
|
- void matchServcieAndSupply(@Param("code") String code,
|
|
|
- @Param("staffId") String staffId,
|
|
|
- @Param("nationalCode") String nationalCode,
|
|
|
- @Param("nationalName") String nationalName);
|
|
|
+ "national_name=#{nationalName},match_oper=#{staffId},match_date=getdate(), " +
|
|
|
+ "descriptions=#{descriptions},exclude_content=#{excludeContent},connotation=#{connotation} " +
|
|
|
+ "where code=#{hisCode}")
|
|
|
+ void matchServcieAndSupply(ChargeItemMatch chargeItemMatch);
|
|
|
|
|
|
@Update("update yp_zd_dict set national_status=0,national_code='',national_name='',cancel_match_oper=#{staffId}," +
|
|
|
"cancel_match_date=getdate() where code=#{code} and serial=#{serial}")
|