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

vue版本上线

parent 76a0033a
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.SerialNumberEx;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
* Description
*
* @Author: cjl
* @Date: 2019/1/21 17:09
*/
public interface SerialNumberMapperEx {
/**
* 根据条件查询序列号列表
* */
List<SerialNumberEx> selectByConditionSerialNumber(@Param("serialNumber") String serialNumber, @Param("materialName") String materialName,@Param("offset") Integer offset,@Param("rows") Integer rows);
/**
* 根据条件查询序列号数量
* */
Long countSerialNumber(@Param("serialNumber")String serialNumber,@Param("materialName")String materialName);
/**
* 通过id查询序列号复合信息
* */
List<SerialNumberEx> findById(Long id);
/**
* 通过序列号查询序列号实体信息
* */
List<SerialNumberEx> findBySerialNumber(@Param("serialNumber") String serialNumber);
/**
* 新增序列号信息
* */
int addSerialNumber(SerialNumberEx serialNumberEx);
/**
* 修改序列号信息
* */
int updateSerialNumber(SerialNumberEx serialNumberEx);
/**
* 查询指定商品下有效的序列号数量
* 未删除为卖出的视为有效
* */
int findSerialNumberByMaterialId(@Param("materialId") Long materialId);
/**
* 查询符合条件的序列号数量
* */
int countSerialNumberByMaterialIdAndDepotheadId(@Param("materialId")Long materialId, @Param("depotHeadId")Long depotHeadId, @Param("isSell")String isSell);
/**
* 卖出: update jsh_serial_number set is_Sell='1' ,depothead_Id='depotheadId' where 1=1 and material_Id='materialId'
* and is_Sell !='1' and delete_Flag !='1' {limit 0,count}
* */
int sellSerialNumber(@Param("materialId")Long materialId, @Param("depotHeadId")Long depotHeadId,@Param("count")Integer count, @Param("updateTime") Date updateTime,@Param("updater") Long updater);
/**
* 赎回:update jsh_serial_number set is_Sell='0',depothead_Id=null where 1=1 and material_Id='materialId'
* and depothead_Id='depotheadId' and is_Sell !='0' and delete_Flag !='1' {limit 0,count}
* */
int cancelSerialNumber(@Param("materialId")Long materialId, @Param("depotHeadId")Long depotHeadId, @Param("count")Integer count, @Param("updateTime") Date updateTime,@Param("updater") Long updater);
/**
* 批量添加序列号
* */
int batAddSerialNumber(@Param("list") List<SerialNumberEx> list);
int batchDeleteSerialNumberByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Supplier;
import com.jsh.erp.datasource.entities.SupplierExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SupplierMapper {
long countByExample(SupplierExample example);
int deleteByExample(SupplierExample example);
int deleteByPrimaryKey(Long id);
int insert(Supplier record);
int insertSelective(Supplier record);
List<Supplier> selectByExample(SupplierExample example);
Supplier selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Supplier record, @Param("example") SupplierExample example);
int updateByExample(@Param("record") Supplier record, @Param("example") SupplierExample example);
int updateByPrimaryKeySelective(Supplier record);
int updateByPrimaryKey(Supplier record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Supplier;
import com.jsh.erp.datasource.entities.SupplierExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface SupplierMapperEx {
List<Supplier> selectByConditionSupplier(
@Param("supplier") String supplier,
@Param("type") String type,
@Param("phonenum") String phonenum,
@Param("telephone") String telephone,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsBySupplier(
@Param("supplier") String supplier,
@Param("type") String type,
@Param("phonenum") String phonenum,
@Param("telephone") String telephone);
List<Supplier> findByAll(
@Param("supplier") String supplier,
@Param("type") String type,
@Param("phonenum") String phonenum,
@Param("telephone") String telephone);
int batchDeleteSupplierByIds(@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.SystemConfig;
import com.jsh.erp.datasource.entities.SystemConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SystemConfigMapper {
long countByExample(SystemConfigExample example);
int deleteByExample(SystemConfigExample example);
int deleteByPrimaryKey(Long id);
int insert(SystemConfig record);
int insertSelective(SystemConfig record);
List<SystemConfig> selectByExample(SystemConfigExample example);
SystemConfig selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example);
int updateByExample(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example);
int updateByPrimaryKeySelective(SystemConfig record);
int updateByPrimaryKey(SystemConfig record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.SystemConfig;
import com.jsh.erp.datasource.entities.SystemConfigExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface SystemConfigMapperEx {
List<SystemConfig> selectByConditionSystemConfig(
@Param("companyName") String companyName,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsBySystemConfig(
@Param("companyName") String companyName);
int batchDeleteSystemConfigByIds(@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.Tenant;
import com.jsh.erp.datasource.entities.TenantExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface TenantMapper {
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int countByExample(TenantExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int deleteByExample(TenantExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int insert(Tenant record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int insertSelective(Tenant record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
List<Tenant> selectByExample(TenantExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
Tenant selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int updateByExampleSelective(@Param("record") Tenant record, @Param("example") TenantExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int updateByExample(@Param("record") Tenant record, @Param("example") TenantExample example);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int updateByPrimaryKeySelective(Tenant record);
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table jsh_tenant
*
* @mbggenerated
*/
int updateByPrimaryKey(Tenant record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Tenant;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface TenantMapperEx {
List<Tenant> selectByConditionTenant(
@Param("loginName") String loginName,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByTenant(
@Param("loginName") String loginName);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Unit;
import com.jsh.erp.datasource.entities.UnitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UnitMapper {
long countByExample(UnitExample example);
int deleteByExample(UnitExample example);
int deleteByPrimaryKey(Long id);
int insert(Unit record);
int insertSelective(Unit record);
List<Unit> selectByExample(UnitExample example);
Unit selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") Unit record, @Param("example") UnitExample example);
int updateByExample(@Param("record") Unit record, @Param("example") UnitExample example);
int updateByPrimaryKeySelective(Unit record);
int updateByPrimaryKey(Unit record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.Unit;
import com.jsh.erp.datasource.entities.UnitExample;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
public interface UnitMapperEx {
List<Unit> selectByConditionUnit(
@Param("name") String name,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByUnit(
@Param("name") String name);
int batchDeleteUnitByIds(@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.UserBusiness;
import com.jsh.erp.datasource.entities.UserBusinessExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UserBusinessMapper {
long countByExample(UserBusinessExample example);
int deleteByExample(UserBusinessExample example);
int deleteByPrimaryKey(Long id);
int insert(UserBusiness record);
int insertSelective(UserBusiness record);
List<UserBusiness> selectByExample(UserBusinessExample example);
UserBusiness selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example);
int updateByExample(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example);
int updateByPrimaryKeySelective(UserBusiness record);
int updateByPrimaryKey(UserBusiness record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import org.apache.ibatis.annotations.Param;
import java.util.Date; /**
* Description
*
* @Author: qiankunpingtai
* @Date: 2019/3/29 15:09
*/
public interface UserBusinessMapperEx {
int batchDeleteUserBusinessByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
}
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.User;
import com.jsh.erp.datasource.entities.UserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UserMapper {
long countByExample(UserExample example);
int deleteByExample(UserExample example);
int deleteByPrimaryKey(Long id);
int insert(User record);
int insertSelective(User record);
List<User> selectByExample(UserExample example);
User selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);
int updateByExample(@Param("record") User record, @Param("example") UserExample example);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKey(User record);
}
\ No newline at end of file
package com.jsh.erp.datasource.mappers;
import com.jsh.erp.datasource.entities.User;
import com.jsh.erp.datasource.entities.UserEx;
import com.jsh.erp.datasource.entities.UserExample;
import com.jsh.erp.datasource.vo.TreeNode;
import com.jsh.erp.datasource.vo.TreeNodeEx;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
import java.util.Map;
public interface UserMapperEx {
List<UserEx> selectByConditionUser(
@Param("userName") String userName,
@Param("loginName") String loginName,
@Param("offset") Integer offset,
@Param("rows") Integer rows);
Long countsByUser(
@Param("userName") String userName,
@Param("loginName") String loginName);
List<User> getUserListByUserNameOrLoginName(@Param("userName") String userName,
@Param("loginName") String loginName);
int batDeleteOrUpdateUser(@Param("ids") String ids[], @Param("status") byte status);
List<TreeNodeEx> getNodeTree();
List<TreeNodeEx> getNextNodeTree(Map<String, Object> parameterMap);
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import com.jsh.erp.datasource.entities.AccountItem;
public class AccountItemVo4List extends AccountItem {
private String accountName;
private String inOutItemName;
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public String getInOutItemName() {
return inOutItemName;
}
public void setInOutItemName(String inOutItemName) {
this.inOutItemName = inOutItemName;
}
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import java.math.BigDecimal;
public class AccountVo4InOutList {
private String number;
private String type;
private String supplierName;
private BigDecimal changeAmount;
private BigDecimal balance;
private String operTime;
private String aList;
private String amList;
private Long tenantId;
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getSupplierName() {
return supplierName;
}
public void setSupplierName(String supplierName) {
this.supplierName = supplierName;
}
public BigDecimal getChangeAmount() {
return changeAmount;
}
public void setChangeAmount(BigDecimal changeAmount) {
this.changeAmount = changeAmount;
}
public BigDecimal getBalance() {
return balance;
}
public void setBalance(BigDecimal balance) {
this.balance = balance;
}
public String getOperTime() {
return operTime;
}
public void setOperTime(String operTime) {
this.operTime = operTime;
}
public String getaList() {
return aList;
}
public void setaList(String aList) {
this.aList = aList;
}
public String getAmList() {
return amList;
}
public void setAmList(String amList) {
this.amList = amList;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import com.jsh.erp.datasource.entities.Account;
public class AccountVo4List extends Account{
private String thisMonthAmount;
public String getThisMonthAmount() {
return thisMonthAmount;
}
public void setThisMonthAmount(String thisMonthAmount) {
this.thisMonthAmount = thisMonthAmount;
}
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import java.math.BigDecimal;
import java.util.Date;
public class DepotHeadVo4InDetail {
private String Number;
private String MName;
private String Model;
private String standard;
private BigDecimal UnitPrice;
private BigDecimal OperNumber;
private BigDecimal AllPrice;
private String SName;
private String DName;
private String OperTime;
private String NewType;
private Long tenantId;
public String getNumber() {
return Number;
}
public void setNumber(String number) {
Number = number;
}
public String getMName() {
return MName;
}
public void setMName(String MName) {
this.MName = MName;
}
public String getModel() {
return Model;
}
public void setModel(String model) {
Model = model;
}
public String getStandard() {
return standard;
}
public void setStandard(String standard) {
this.standard = standard;
}
public BigDecimal getUnitPrice() {
return UnitPrice;
}
public void setUnitPrice(BigDecimal unitPrice) {
UnitPrice = unitPrice;
}
public BigDecimal getOperNumber() {
return OperNumber;
}
public void setOperNumber(BigDecimal operNumber) {
OperNumber = operNumber;
}
public BigDecimal getAllPrice() {
return AllPrice;
}
public void setAllPrice(BigDecimal allPrice) {
AllPrice = allPrice;
}
public String getSName() {
return SName;
}
public void setSName(String SName) {
this.SName = SName;
}
public String getDName() {
return DName;
}
public void setDName(String DName) {
this.DName = DName;
}
public String getOperTime() {
return OperTime;
}
public void setOperTime(String operTime) {
OperTime = operTime;
}
public String getNewType() {
return NewType;
}
public void setNewType(String newType) {
NewType = newType;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import java.math.BigDecimal;
public class DepotHeadVo4InOutMCount {
private Long MaterialId;
private String mName;
private String Model;
private String standard;
private String categoryName;
private BigDecimal numSum;
private BigDecimal priceSum;
private Long tenantId;
public Long getMaterialId() {
return MaterialId;
}
public void setMaterialId(Long materialId) {
MaterialId = materialId;
}
public String getmName() {
return mName;
}
public void setmName(String mName) {
this.mName = mName;
}
public String getModel() {
return Model;
}
public void setModel(String model) {
Model = model;
}
public String getStandard() {
return standard;
}
public void setStandard(String standard) {
this.standard = standard;
}
public String getCategoryName() {
return categoryName;
}
public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}
public BigDecimal getNumSum() {
return numSum;
}
public void setNumSum(BigDecimal numSum) {
this.numSum = numSum;
}
public BigDecimal getPriceSum() {
return priceSum;
}
public void setPriceSum(BigDecimal priceSum) {
this.priceSum = priceSum;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import com.jsh.erp.datasource.entities.DepotHead;
import java.math.BigDecimal;
import java.util.Date;
public class DepotHeadVo4List extends DepotHead{
private String projectName;
private String organName;
private String userName;
private String accountName;
private String allocationProjectName;
private String materialsList;
private String operTimeStr;
public String getProjectName() {
return projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getOrganName() {
return organName;
}
public void setOrganName(String organName) {
this.organName = organName;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public String getAllocationProjectName() {
return allocationProjectName;
}
public void setAllocationProjectName(String allocationProjectName) {
this.allocationProjectName = allocationProjectName;
}
public String getMaterialsList() {
return materialsList;
}
public void setMaterialsList(String materialsList) {
this.materialsList = materialsList;
}
public String getOperTimeStr() {
return operTimeStr;
}
public void setOperTimeStr(String operTimeStr) {
this.operTimeStr = operTimeStr;
}
}
\ No newline at end of file
package com.jsh.erp.datasource.vo;
import java.math.BigDecimal;
public class DepotHeadVo4StatementAccount {
private String number;
private String type;
private BigDecimal discountLastMoney;
private BigDecimal otherMoney;
private BigDecimal billMoney;
private BigDecimal changeAmount;
private BigDecimal allPrice;
private String supplierName;
private String oTime;
private Long tenantId;
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public BigDecimal getDiscountLastMoney() {
return discountLastMoney;
}
public void setDiscountLastMoney(BigDecimal discountLastMoney) {
this.discountLastMoney = discountLastMoney;
}
public BigDecimal getOtherMoney() {
return otherMoney;
}
public void setOtherMoney(BigDecimal otherMoney) {
this.otherMoney = otherMoney;
}
public BigDecimal getBillMoney() {
return billMoney;
}
public void setBillMoney(BigDecimal billMoney) {
this.billMoney = billMoney;
}
public BigDecimal getChangeAmount() {
return changeAmount;
}
public void setChangeAmount(BigDecimal changeAmount) {
this.changeAmount = changeAmount;
}
public BigDecimal getAllPrice() {
return allPrice;
}
public void setAllPrice(BigDecimal allPrice) {
this.allPrice = allPrice;
}
public String getSupplierName() {
return supplierName;
}
public void setSupplierName(String supplierName) {
this.supplierName = supplierName;
}
public String getoTime() {
return oTime;
}
public void setoTime(String oTime) {
this.oTime = oTime;
}
public Long getTenantId() {
return tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}
\ 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