|
|
@@ -1,80 +1,21 @@
|
|
|
package com.goafanti.common.dao;
|
|
|
|
|
|
import com.goafanti.common.model.CustomerOrganizationInfo;
|
|
|
-import com.goafanti.common.model.CustomerOrganizationInfoExample;
|
|
|
-import java.util.List;
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
public interface CustomerOrganizationInfoMapper {
|
|
|
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- long countByExample(CustomerOrganizationInfoExample example);
|
|
|
|
|
|
/**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- int deleteByExample(CustomerOrganizationInfoExample example);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
+ * 删除
|
|
|
*/
|
|
|
int deleteCustomerOrganizationByCid(String cid);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- int insert(CustomerOrganizationInfo record);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- int insertSelective(CustomerOrganizationInfo record);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- List<CustomerOrganizationInfo> selectByExample(CustomerOrganizationInfoExample example);
|
|
|
-
|
|
|
/**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
+ * 修改
|
|
|
*/
|
|
|
- CustomerOrganizationInfo selectByPrimaryKey(String id);
|
|
|
-
|
|
|
+ int updateCustomerOrganizationByPrimaryKey(String cid);
|
|
|
/**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
+ * 新增
|
|
|
*/
|
|
|
- int updateByExampleSelective(@Param("record") CustomerOrganizationInfo record,
|
|
|
- @Param("example") CustomerOrganizationInfoExample example);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- int updateByExample(@Param("record") CustomerOrganizationInfo record,
|
|
|
- @Param("example") CustomerOrganizationInfoExample example);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- int updateByPrimaryKeySelective(CustomerOrganizationInfo record);
|
|
|
-
|
|
|
- /**
|
|
|
- * This method was generated by MyBatis Generator. This method corresponds to the database table customer_organization_info
|
|
|
- * @mbg.generated Wed Oct 11 15:42:57 CST 2017
|
|
|
- */
|
|
|
- int updateByPrimaryKey(CustomerOrganizationInfo record);
|
|
|
-
|
|
|
int insertCustomerOrganization(CustomerOrganizationInfo cui);
|
|
|
|
|
|
}
|