Commit f4ef5aa0 authored by 季圣华's avatar 季圣华
Browse files

vue版本上线

parent 76a0033a
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.AccountItem;
import com.jsh.erp.datasource.entities.AccountItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AccountItemMapper {
long countByExample(AccountItemExample example);
int deleteByExample(AccountItemExample example);
int deleteByPrimaryKey(Long id);
int insert(AccountItem record);
int insertSelective(AccountItem record);
List<AccountItem> selectByExample(AccountItemExample example);
AccountItem selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") AccountItem record, @Param("example") AccountItemExample example);
int updateByExample(@Param("record") AccountItem record, @Param("example") AccountItemExample example);
int updateByPrimaryKeySelective(AccountItem record);
int updateByPrimaryKey(AccountItem record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.AccountItem;
import com.jsh.erp.datasource.entities.AccountItemExample;
import com.jsh.erp.datasource.vo.AccountItemVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface AccountItemMapperEx {
List<AccountItem> selectByConditionAccountItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByAccountItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
List<AccountItemVo4List> getDetailList(
@Param("headerId") Long headerId);
int batchDeleteAccountItemByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String[] ids);
List<AccountItem> getAccountItemListByAccountIds(@Param("accountIds") String[] accountIds);
List<AccountItem> getAccountItemListByHeaderIds(@Param("headerIds") String[] headerIds);
List<AccountItem> getAccountItemListByInOutItemIds(@Param("inOutItemIds") String[] inOutItemIds);
int batchDeleteAccountItemByHeadIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String[] ids);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Account;
import com.jsh.erp.datasource.entities.AccountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AccountMapper {
long countByExample(AccountExample example);
int deleteByExample(AccountExample example);
int deleteByPrimaryKey(Long id);
int insert(Account record);
int insertSelective(Account record);
List<Account> selectByExample(AccountExample example);
Account selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Account record, @Param("example") AccountExample example);
int updateByExample(@Param("record") Account record, @Param("example") AccountExample example);
int updateByPrimaryKeySelective(Account record);
int updateByPrimaryKey(Account record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Account;
import com.jsh.erp.datasource.entities.AccountExample;
import com.jsh.erp.datasource.vo.AccountVo4InOutList;
import com.jsh.erp.datasource.vo.AccountVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface AccountMapperEx {
List<Account> getAccountByParam(
@Param("name") String name,
@Param("serialNo") String serialNo);
List<AccountVo4List> selectByConditionAccount(
@Param("name") String name,
@Param("serialNo") String serialNo,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByAccount(
@Param("name") String name,
@Param("serialNo") String serialNo,
@Param("remark") String remark);
List<AccountVo4InOutList> findAccountInOutList(
@Param("accountId") Long accountId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findAccountInOutListCount(
@Param("accountId") Long accountId);
int batchDeleteAccountByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.DepotHead;
import com.jsh.erp.datasource.entities.DepotHeadExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface DepotHeadMapper {
long countByExample(DepotHeadExample example);
int deleteByExample(DepotHeadExample example);
int deleteByPrimaryKey(Long id);
int insert(DepotHead record);
int insertSelective(DepotHead record);
List<DepotHead> selectByExample(DepotHeadExample example);
DepotHead selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") DepotHead record, @Param("example") DepotHeadExample example);
int updateByExample(@Param("record") DepotHead record, @Param("example") DepotHeadExample example);
int updateByPrimaryKeySelective(DepotHead record);
int updateByPrimaryKey(DepotHead record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.DepotHead;
import com.jsh.erp.datasource.vo.DepotHeadVo4InDetail;
import com.jsh.erp.datasource.vo.DepotHeadVo4InOutMCount;
import com.jsh.erp.datasource.vo.DepotHeadVo4List;
import com.jsh.erp.datasource.vo.DepotHeadVo4StatementAccount;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* Description
*
* @Author: cjl
* @Date: 2019/1/25 14:50
*/
public interface DepotHeadMapperEx {
List<DepotHeadVo4List> selectByConditionDepotHead(
@Param("type") String type,
@Param("subType") String subType,
@Param("creatorArray") String[] creatorArray,
@Param("status") String status,
@Param("number") String number,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("materialParam") String materialParam,
@Param("depotIds") String depotIds,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByDepotHead(
@Param("type") String type,
@Param("subType") String subType,
@Param("creatorArray") String[] creatorArray,
@Param("status") String status,
@Param("number") String number,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("materialParam") String materialParam,
@Param("depotIds") String depotIds);
String findMaterialsListByHeaderId(
@Param("id") Long id);
List<DepotHeadVo4InDetail> findByAll(
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("type") String type,
@Param("materialParam") String materialParam,
@Param("depotId") Integer depotId,
@Param("oId") Integer oId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findByAllCount(
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("type") String type,
@Param("materialParam") String materialParam,
@Param("depotId") Integer depotId,
@Param("oId") Integer oId);
List<DepotHeadVo4InOutMCount> findInOutMaterialCount(
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("type") String type,
@Param("materialParam") String materialParam,
@Param("depotId") Integer depotId,
@Param("oId") Integer oId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findInOutMaterialCountTotal(
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("type") String type,
@Param("materialParam") String materialParam,
@Param("depotId") Integer depotId,
@Param("oId") Integer oId);
List<DepotHeadVo4StatementAccount> findStatementAccount(
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("organId") Integer organId,
@Param("supType") String supType,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findStatementAccountCount(
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("organId") Integer organId,
@Param("supType") String supType);
BigDecimal findAllMoney(
@Param("supplierId") Integer supplierId,
@Param("type") String type,
@Param("subType") String subType,
@Param("modeName") String modeName,
@Param("endTime") String endTime);
BigDecimal findAllOtherMoney(
@Param("supplierId") Integer supplierId,
@Param("type") String type,
@Param("subType") String subType,
@Param("endTime") String endTime);
List<DepotHeadVo4List> getDetailByNumber(
@Param("number") String number);
int batchDeleteDepotHeadByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
List<DepotHead> getDepotHeadListByAccountIds(@Param("accountIds") String[] accountIds);
List<DepotHead> getDepotHeadListByOrganIds(@Param("organIds") String[] organIds);
List<DepotHead> getDepotHeadListByCreator(@Param("creatorArray") String[] creatorArray);
BigDecimal getBuyAndSaleStatistics(
@Param("type") String type,
@Param("subType") String subType,
@Param("hasSupplier") Integer hasSupplier,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
BigDecimal getBuyAndSaleRetailStatistics(
@Param("type") String type,
@Param("subType") String subType,
@Param("hasSupplier") Integer hasSupplier,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.DepotItem;
import com.jsh.erp.datasource.entities.DepotItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface DepotItemMapper {
long countByExample(DepotItemExample example);
int deleteByExample(DepotItemExample example);
int deleteByPrimaryKey(Long id);
int insert(DepotItem record);
int insertSelective(DepotItem record);
List<DepotItem> selectByExample(DepotItemExample example);
DepotItem selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") DepotItem record, @Param("example") DepotItemExample example);
int updateByExample(@Param("record") DepotItem record, @Param("example") DepotItemExample example);
int updateByPrimaryKeySelective(DepotItem record);
int updateByPrimaryKey(DepotItem record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.*;
import com.jsh.erp.datasource.vo.DepotItemStockWarningCount;
import com.jsh.erp.datasource.vo.DepotItemVo4Stock;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
* Description
*
* @Author: cjl
* @Date: 2019/1/24 16:59
*/
public interface DepotItemMapperEx {
List<DepotItem> selectByConditionDepotItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByDepotItem(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
List<DepotItemVo4DetailByTypeAndMId> findDetailByTypeAndMaterialIdList(
@Param("mId") Long mId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long findDetailByTypeAndMaterialIdCounts(
@Param("mId") Long mId);
List<DepotItemVo4WithInfoEx> getDetailList(
@Param("headerId") Long headerId);
List<DepotItemVo4WithInfoEx> findByAll(
@Param("materialParam") String materialParam,
@Param("endTime") String endTime,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findByAllCount(
@Param("materialParam") String materialParam,
@Param("endTime") String endTime);
BigDecimal buyOrSaleNumber(
@Param("type") String type,
@Param("subType") String subType,
@Param("MId") Long MId,
@Param("MonthTime") String MonthTime,
@Param("sumType") String sumType);
BigDecimal buyOrSalePrice(
@Param("type") String type,
@Param("subType") String subType,
@Param("MId") Long MId,
@Param("MonthTime") String MonthTime,
@Param("sumType") String sumType);
BigDecimal inOrOutPrice(
@Param("type") String type,
@Param("subType") String subType,
@Param("MonthTime") String MonthTime);
BigDecimal getStockCheckSum(
@Param("depotId") Long depotId,
@Param("mId") Long mId,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
DepotItemVo4Stock getStockByParam(
@Param("depotId") Long depotId,
@Param("mId") Long mId,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("tenantId") Long tenantId);
/**
* 通过单据主表id查询所有单据子表数据
* @param depotheadId
* @param enableSerialNumber
* @return
*/
List<DepotItem> findDepotItemListBydepotheadId(@Param("depotheadId")Long depotheadId,
@Param("enableSerialNumber")String enableSerialNumber);
/**
* 根据单据主表id删除单据子表数据
* 物理删除,已弃用
* */
@Deprecated
int deleteDepotItemByDepotHeadIds(@Param("depotheadIds")Long []depotHeadIds);
/**
* 根据单据主表id删除单据子表数据
* */
int batchDeleteDepotItemByDepotHeadIds(@Param("depotheadIds")Long []depotHeadIds);
int batchDeleteDepotItemByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
List<DepotItem> getDepotItemListListByDepotIds(@Param("depotIds") String[] depotIds);
List<DepotItem> getDepotItemListListByMaterialIds(@Param("materialIds") String[] materialIds);
List<DepotItemStockWarningCount> findStockWarningCount(
@Param("offset") Integer offset,
@Param("rows") Integer rows,
@Param("materialParam") String materialParam,
@Param("depotId") Long depotId);
int findStockWarningCountTotal(
@Param("materialParam") String materialParam,
@Param("depotId") Long depotId);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Depot;
import com.jsh.erp.datasource.entities.DepotExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface DepotMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int countByExample(DepotExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int deleteByExample(DepotExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int insert(Depot record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int insertSelective(Depot record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
List<Depot> selectByExample(DepotExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
Depot selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int updateByExampleSelective(@Param("record") Depot record, @Param("example") DepotExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int updateByExample(@Param("record") Depot record, @Param("example") DepotExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int updateByPrimaryKeySelective(Depot record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_depot
*
* @mbggenerated
*/
int updateByPrimaryKey(Depot record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Depot;
import com.jsh.erp.datasource.entities.DepotEx;
import com.jsh.erp.datasource.entities.DepotExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
import java.util.Map;
public interface DepotMapperEx {
List<DepotEx> selectByConditionDepot(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByDepot(
@Param("name") String name,
@Param("type") Integer type,
@Param("remark") String remark);
int batchDeleteDepotByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Function;
import com.jsh.erp.datasource.entities.FunctionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface FunctionMapper {
long countByExample(FunctionExample example);
int deleteByExample(FunctionExample example);
int deleteByPrimaryKey(Long id);
int insert(Function record);
int insertSelective(Function record);
List<Function> selectByExample(FunctionExample example);
Function selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Function record, @Param("example") FunctionExample example);
int updateByExample(@Param("record") Function record, @Param("example") FunctionExample example);
int updateByPrimaryKeySelective(Function record);
int updateByPrimaryKey(Function record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Function;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface FunctionMapperEx {
List<Function> selectByConditionFunction(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByFunction(
@Param("name") String name,
@Param("type") String type);
int batchDeleteFunctionByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.InOutItem;
import com.jsh.erp.datasource.entities.InOutItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface InOutItemMapper {
long countByExample(InOutItemExample example);
int deleteByExample(InOutItemExample example);
int deleteByPrimaryKey(Long id);
int insert(InOutItem record);
int insertSelective(InOutItem record);
List<InOutItem> selectByExample(InOutItemExample example);
InOutItem selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") InOutItem record, @Param("example") InOutItemExample example);
int updateByExample(@Param("record") InOutItem record, @Param("example") InOutItemExample example);
int updateByPrimaryKeySelective(InOutItem record);
int updateByPrimaryKey(InOutItem record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.InOutItem;
import com.jsh.erp.datasource.entities.InOutItemExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface InOutItemMapperEx {
List<InOutItem> selectByConditionInOutItem(
@Param("name") String name,
@Param("type") String type,
@Param("remark") String remark,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByInOutItem(
@Param("name") String name,
@Param("type") String type,
@Param("remark") String remark);
int batchDeleteInOutItemByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Log;
import com.jsh.erp.datasource.entities.LogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface LogMapper {
long countByExample(LogExample example);
int deleteByExample(LogExample example);
int deleteByPrimaryKey(Long id);
int insert(Log record);
int insertSelective(Log record);
List<Log> selectByExample(LogExample example);
Log selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Log record, @Param("example") LogExample example);
int updateByExample(@Param("record") Log record, @Param("example") LogExample example);
int updateByPrimaryKeySelective(Log record);
int updateByPrimaryKey(Log record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Log;
import com.jsh.erp.datasource.entities.LogExample;
import com.jsh.erp.datasource.vo.LogVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface LogMapperEx {
List<LogVo4List> selectByConditionLog(
@Param("operation") String operation,
@Param("userId") Integer userId,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("content") String content,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByLog(
@Param("operation") String operation,
@Param("userId") Integer userId,
@Param("clientIp") String clientIp,
@Param("status") Integer status,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime,
@Param("content") String content);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialCategory;
import com.jsh.erp.datasource.entities.MaterialCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialCategoryMapper {
long countByExample(MaterialCategoryExample example);
int deleteByExample(MaterialCategoryExample example);
int deleteByPrimaryKey(Long id);
int insert(MaterialCategory record);
int insertSelective(MaterialCategory record);
List<MaterialCategory> selectByExample(MaterialCategoryExample example);
MaterialCategory selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example);
int updateByExample(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example);
int updateByPrimaryKeySelective(MaterialCategory record);
int updateByPrimaryKey(MaterialCategory record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialCategory;
import com.jsh.erp.datasource.vo.TreeNode;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* Description
*
* @Author: cjl
* @Date: 2019/2/18 17:23
*/
public interface MaterialCategoryMapperEx {
List<MaterialCategory> selectByConditionMaterialCategory(
@Param("name") String name,
@Param("parentId") Integer parentId,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByMaterialCategory(
@Param("name") String name,
@Param("parentId") Integer parentId);
List<TreeNode> getNodeTree(@Param("currentId")Long currentId);
List<TreeNode> getNextNodeTree(Map<String, Object> parameterMap);
int addMaterialCategory(MaterialCategory mc);
int batchDeleteMaterialCategoryByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
int editMaterialCategory(MaterialCategory mc);
List<MaterialCategory> getMaterialCategoryBySerialNo(@Param("serialNo") String serialNo, @Param("id") Long id);
List<MaterialCategory> getMaterialCategoryListByCategoryIds(@Param("parentIds") String[] categoryIds);
List<MaterialCategory> getListByParentId(@Param("parentId") Long parentId);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialCurrentStock;
import com.jsh.erp.datasource.entities.MaterialCurrentStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialCurrentStockMapper {
long countByExample(MaterialCurrentStockExample example);
int deleteByExample(MaterialCurrentStockExample example);
int deleteByPrimaryKey(Long id);
int insert(MaterialCurrentStock record);
int insertSelective(MaterialCurrentStock record);
List<MaterialCurrentStock> selectByExample(MaterialCurrentStockExample example);
MaterialCurrentStock selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") MaterialCurrentStock record, @Param("example") MaterialCurrentStockExample example);
int updateByExample(@Param("record") MaterialCurrentStock record, @Param("example") MaterialCurrentStockExample example);
int updateByPrimaryKeySelective(MaterialCurrentStock record);
int updateByPrimaryKey(MaterialCurrentStock record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialExtend;
import com.jsh.erp.datasource.entities.MaterialExtendExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialExtendMapper {
long countByExample(MaterialExtendExample example);
int deleteByExample(MaterialExtendExample example);
int deleteByPrimaryKey(Long id);
int insert(MaterialExtend record);
int insertSelective(MaterialExtend record);
List<MaterialExtend> selectByExample(MaterialExtendExample example);
MaterialExtend selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") MaterialExtend record, @Param("example") MaterialExtendExample example);
int updateByExample(@Param("record") MaterialExtend record, @Param("example") MaterialExtendExample example);
int updateByPrimaryKeySelective(MaterialExtend record);
int updateByPrimaryKey(MaterialExtend record);
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment