| | |
| | | |
| | | import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevBattRtDataSet; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface CKPowerDevBattRtDataSetMapper extends CustomMapper<CKPowerDevBattRtDataSet> { |
| | | |
| | | void updateBatch(List<CKPowerDevBattRtDataSet> list); |
| | | |
| | | } |
| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | public class CKPowerDevBattRtDataSetService { |
| | |
| | | mapper.update(set,null); |
| | | } |
| | | |
| | | public void updateBatch(CKPowerDevBattRtDataSet set) { |
| | | mapper.update(set,null); |
| | | public void updateBatch(List<CKPowerDevBattRtDataSet> list) { |
| | | mapper.updateBatch(list); |
| | | } |
| | | } |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.whyc.mapper.CKPowerDevBattRtDataSetMapper" > |
| | | |
| | | |
| | | <update id="updateBatch"> |
| | | |
| | | <!--TODO--> |
| | | </update> |
| | | </mapper> |