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

vue版本上线

parent 76a0033a
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialExtend;
import com.jsh.erp.datasource.vo.MaterialExtendVo4List;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface MaterialExtendMapperEx {
int batchDeleteMaterialExtendByIds(@Param("ids") String ids[]);
List<MaterialExtendVo4List> getDetailList(
@Param("materialId") Long materialId);
Long getMaxTimeByTenantAndTime(
@Param("tenantId") Long tenantId,
@Param("lastTime") Long lastTime,
@Param("syncNum") Long syncNum);
List<MaterialExtend> getListByMId(@Param("ids") Long ids[]);
int batchDeleteMaterialExtendByMIds(@Param("ids") String ids[]);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialInitialStock;
import com.jsh.erp.datasource.entities.MaterialInitialStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialInitialStockMapper {
long countByExample(MaterialInitialStockExample example);
int deleteByExample(MaterialInitialStockExample example);
int deleteByPrimaryKey(Long id);
int insert(MaterialInitialStock record);
int insertSelective(MaterialInitialStock record);
List<MaterialInitialStock> selectByExample(MaterialInitialStockExample example);
MaterialInitialStock selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") MaterialInitialStock record, @Param("example") MaterialInitialStockExample example);
int updateByExample(@Param("record") MaterialInitialStock record, @Param("example") MaterialInitialStockExample example);
int updateByPrimaryKeySelective(MaterialInitialStock record);
int updateByPrimaryKey(MaterialInitialStock record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Material;
import com.jsh.erp.datasource.entities.MaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialMapper {
long countByExample(MaterialExample example);
int deleteByExample(MaterialExample example);
int deleteByPrimaryKey(Long id);
int insert(Material record);
int insertSelective(Material record);
List<Material> selectByExample(MaterialExample example);
Material selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Material record, @Param("example") MaterialExample example);
int updateByExample(@Param("record") Material record, @Param("example") MaterialExample example);
int updateByPrimaryKeySelective(Material record);
int updateByPrimaryKey(Material record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.AccountHead;
import com.jsh.erp.datasource.entities.Material;
import com.jsh.erp.datasource.entities.MaterialVo4Unit;
import com.jsh.erp.datasource.entities.Unit;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* Description
*
* @Author: cjl
* @Date: 2019/1/22 14:54
*/
public interface MaterialMapperEx {
List<MaterialVo4Unit> selectByConditionMaterial(
@Param("barCode") String barCode,
@Param("name") String name,
@Param("standard") String standard,
@Param("model") String model,
@Param("idList") List<Long> idList,
@Param("mpList") String mpList,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByMaterial(
@Param("barCode") String barCode,
@Param("name") String name,
@Param("standard") String standard,
@Param("model") String model,
@Param("idList") List<Long> idList,
@Param("mpList") String mpList);
List<Unit> findUnitList(@Param("mId") Long mId);
List<MaterialVo4Unit> findById(@Param("id") Long id);
List<MaterialVo4Unit> findByIdWithBarCode(@Param("meId") Long meId);
List<MaterialVo4Unit> findBySelectWithBarCode(@Param("idList") List<Long> idList,
@Param("q") String q,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
int findBySelectWithBarCodeCount(@Param("idList") List<Long> idList,
@Param("q") String q);
List<MaterialVo4Unit> findByAll(
@Param("barCode") String barCode,
@Param("name") String name,
@Param("standard") String standard,
@Param("model") String model,
@Param("idList") List<Long> idList);
/**
* 通过商品名称查询商品信息
* */
List<Material> findByMaterialName(@Param("name") String name);
/**
* 获取开启序列号并且状态正常的商品列表
* */
List<MaterialVo4Unit> getMaterialEnableSerialNumberList(@Param("q") String q,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long getMaterialEnableSerialNumberCount(@Param("q") String q);
int batchDeleteMaterialByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
List<Material> getMaterialListByCategoryIds(@Param("categoryIds") String[] categoryIds);
List<Material> getMaterialListByUnitIds(@Param("unitIds") String[] unitIds);
String getMaxBarCode();
List<MaterialVo4Unit> getMaterialByMeId(
@Param("meId") Long meId);
List<String> getMaterialNameList();
int setUnitIdToNull(@Param("id") Long id);
List<MaterialVo4Unit> getMaterialByBarCode(@Param("barCode") String barCode);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialProperty;
import com.jsh.erp.datasource.entities.MaterialPropertyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MaterialPropertyMapper {
long countByExample(MaterialPropertyExample example);
int deleteByExample(MaterialPropertyExample example);
int deleteByPrimaryKey(Long id);
int insert(MaterialProperty record);
int insertSelective(MaterialProperty record);
List<MaterialProperty> selectByExample(MaterialPropertyExample example);
MaterialProperty selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") MaterialProperty record, @Param("example") MaterialPropertyExample example);
int updateByExample(@Param("record") MaterialProperty record, @Param("example") MaterialPropertyExample example);
int updateByPrimaryKeySelective(MaterialProperty record);
int updateByPrimaryKey(MaterialProperty record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.MaterialProperty;
import com.jsh.erp.datasource.entities.MaterialPropertyExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface MaterialPropertyMapperEx {
List<MaterialProperty> selectByConditionMaterialProperty(
@Param("name") String name,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByMaterialProperty(@Param("name") String name);
int batchDeleteMaterialPropertyByIds(@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.Msg;
import com.jsh.erp.datasource.entities.MsgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface MsgMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int countByExample(MsgExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int deleteByExample(MsgExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int insert(Msg record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int insertSelective(Msg record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
List<Msg> selectByExample(MsgExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
Msg selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int updateByExampleSelective(@Param("record") Msg record, @Param("example") MsgExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int updateByExample(@Param("record") Msg record, @Param("example") MsgExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int updateByPrimaryKeySelective(Msg record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_msg
*
* @mbggenerated
*/
int updateByPrimaryKey(Msg record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Msg;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface MsgMapperEx {
List<Msg> selectByConditionMsg(
@Param("name") String name,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByMsg(
@Param("name") String name);
int batchDeleteMsgByIds(@Param("ids") String ids[]);
int insertSelectiveByTask(Msg record);
int checkIsNameExistByTask(@Param("msgTitle") String msgTitle);
Long getMsgCountByStatus(
@Param("status") String status,
@Param("userId") Long userId);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.OrgaUserRel;
import com.jsh.erp.datasource.entities.OrgaUserRelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OrgaUserRelMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int countByExample(OrgaUserRelExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int deleteByExample(OrgaUserRelExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int insert(OrgaUserRel record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int insertSelective(OrgaUserRel record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
List<OrgaUserRel> selectByExample(OrgaUserRelExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
OrgaUserRel selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int updateByExampleSelective(@Param("record") OrgaUserRel record, @Param("example") OrgaUserRelExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int updateByExample(@Param("record") OrgaUserRel record, @Param("example") OrgaUserRelExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int updateByPrimaryKeySelective(OrgaUserRel record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_orga_user_rel
*
* @mbggenerated
*/
int updateByPrimaryKey(OrgaUserRel record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.OrgaUserRel; /**
* Description
*
* @Author: cjl
* @Date: 2019/3/12 9:13
*/
public interface OrgaUserRelMapperEx {
int addOrgaUserRel(OrgaUserRel orgaUserRel);
int updateOrgaUserRel(OrgaUserRel orgaUserRel);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Organization;
import com.jsh.erp.datasource.entities.OrganizationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface OrganizationMapper {
long countByExample(OrganizationExample example);
int deleteByExample(OrganizationExample example);
int deleteByPrimaryKey(Long id);
int insert(Organization record);
int insertSelective(Organization record);
List<Organization> selectByExample(OrganizationExample example);
Organization selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Organization record, @Param("example") OrganizationExample example);
int updateByExample(@Param("record") Organization record, @Param("example") OrganizationExample example);
int updateByPrimaryKeySelective(Organization record);
int updateByPrimaryKey(Organization 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.entities.Organization;
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/3/6 15:51
*/
public interface OrganizationMapperEx {
List<TreeNode> getNodeTree(@Param("currentId")Long currentId);
List<TreeNode> getNextNodeTree(Map<String, Object> parameterMap);
int addOrganization(Organization org);
int batchDeleteOrganizationByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
int editOrganization(Organization org);
List <Organization> getOrganizationRootByIds(@Param("ids") String ids[]);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Person;
import com.jsh.erp.datasource.entities.PersonExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PersonMapper {
long countByExample(PersonExample example);
int deleteByExample(PersonExample example);
int deleteByPrimaryKey(Long id);
int insert(Person record);
int insertSelective(Person record);
List<Person> selectByExample(PersonExample example);
Person selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Person record, @Param("example") PersonExample example);
int updateByExample(@Param("record") Person record, @Param("example") PersonExample example);
int updateByPrimaryKeySelective(Person record);
int updateByPrimaryKey(Person record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Person;
import com.jsh.erp.datasource.entities.PersonExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface PersonMapperEx {
List<Person> selectByConditionPerson(
@Param("name") String name,
@Param("type") String type,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByPerson(
@Param("name") String name,
@Param("type") String type);
int batchDeletePersonByIds(@Param("ids") String ids[]);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.PlatformConfig;
import com.jsh.erp.datasource.entities.PlatformConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface PlatformConfigMapper {
long countByExample(PlatformConfigExample example);
int deleteByExample(PlatformConfigExample example);
int deleteByPrimaryKey(Long id);
int insert(PlatformConfig record);
int insertSelective(PlatformConfig record);
List<PlatformConfig> selectByExample(PlatformConfigExample example);
PlatformConfig selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") PlatformConfig record, @Param("example") PlatformConfigExample example);
int updateByExample(@Param("record") PlatformConfig record, @Param("example") PlatformConfigExample example);
int updateByPrimaryKeySelective(PlatformConfig record);
int updateByPrimaryKey(PlatformConfig record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.PlatformConfig;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface PlatformConfigMapperEx {
List<PlatformConfig> selectByConditionPlatformConfig(
@Param("key") String key,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByPlatformConfig(
@Param("key") String key);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Role;
import com.jsh.erp.datasource.entities.RoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface RoleMapper {
long countByExample(RoleExample example);
int deleteByExample(RoleExample example);
int deleteByPrimaryKey(Long id);
int insert(Role record);
int insertSelective(Role record);
List<Role> selectByExample(RoleExample example);
Role selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);
int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);
int updateByPrimaryKeySelective(Role record);
int updateByPrimaryKey(Role record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Role;
import com.jsh.erp.datasource.entities.RoleExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface RoleMapperEx {
List<Role> selectByConditionRole(
@Param("name") String name,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByRole(
@Param("name") String name);
int batchDeleteRoleByIds(@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 org.apache.ibatis.annotations.Param;
public interface SequenceMapperEx {
void updateBuildOnlyNumber();
/**
* 获得一个全局唯一的数作为订单号的追加
* */
Long getBuildOnlyNumber(@Param("seq_name") String seq_name);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.SerialNumber;
import com.jsh.erp.datasource.entities.SerialNumberExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SerialNumberMapper {
long countByExample(SerialNumberExample example);
int deleteByExample(SerialNumberExample example);
int deleteByPrimaryKey(Long id);
int insert(SerialNumber record);
int insertSelective(SerialNumber record);
List<SerialNumber> selectByExample(SerialNumberExample example);
SerialNumber selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") SerialNumber record, @Param("example") SerialNumberExample example);
int updateByExample(@Param("record") SerialNumber record, @Param("example") SerialNumberExample example);
int updateByPrimaryKeySelective(SerialNumber record);
int updateByPrimaryKey(SerialNumber 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