增加多属性设置模块

This commit is contained in:
季圣华
2021-07-22 00:29:51 +08:00
parent f2ab4f282e
commit c72972c077
12 changed files with 1259 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialAttribute;
import com.jsh.erp.datasource.entities.MaterialAttributeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialAttributeMapper {
long countByExample(MaterialAttributeExample example);
int deleteByExample(MaterialAttributeExample example);
int deleteByPrimaryKey(Long id);
int insert(MaterialAttribute record);
int insertSelective(MaterialAttribute record);
List<MaterialAttribute> selectByExample(MaterialAttributeExample example);
MaterialAttribute selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") MaterialAttribute record, @Param("example") MaterialAttributeExample example);
int updateByExample(@Param("record") MaterialAttribute record, @Param("example") MaterialAttributeExample example);
int updateByPrimaryKeySelective(MaterialAttribute record);
int updateByPrimaryKey(MaterialAttribute record);
}

View File

@@ -0,0 +1,20 @@
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialAttribute;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MaterialAttributeMapperEx {
List<MaterialAttribute> selectByConditionMaterialAttribute(
@Param("attributeField") String attributeField,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByMaterialAttribute(
@Param("attributeField") String attributeField);
int batchDeleteMaterialAttributeByIds(
@Param("ids") String ids[]);
}