package market.Qms.qcm.mapper;
import market.Qms.qcm.vo.QcmZbsTmplSch;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import com.hnshituo.orm.GenericMapper;

public interface QcmZbsTmplSchMapper extends GenericMapper<QcmZbsTmplSch,Object> {

    @Update("update SLM_BASE_ADD_ASK t set t.ask_item_desc=#{tmpl_cret_desc} where t.ask_item_no=#{tmpl_cret_no}")
    void updateAddAskByNo(@Param("tmpl_cret_no")String tmpl_cret_no,@Param("tmpl_cret_desc")String tmpl_cret_desc);

    @Update("update com_base_additional t set t.ask_sub_itme_val_desc=#{tmpl_cret_desc} where t.ask_sub_itme_val=#{tmpl_cret_no}")
    void updateBaseAddByNo(@Param("tmpl_cret_no")String tmpl_cret_no,@Param("tmpl_cret_desc")String tmpl_cret_desc);
}
