从源更新
This commit is contained in:
@@ -1,96 +0,0 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.App;
|
||||
import com.jsh.erp.datasource.entities.AppExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface AppMapper {
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int countByExample(AppExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByExample(AppExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int deleteByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insert(App record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int insertSelective(App record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
List<App> selectByExample(AppExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
App selectByPrimaryKey(Long id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExampleSelective(@Param("record") App record, @Param("example") AppExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByExample(@Param("record") App record, @Param("example") AppExample example);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKeySelective(App record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table jsh_app
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(App record);
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.App;
|
||||
import com.jsh.erp.datasource.entities.AppExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface AppMapperEx {
|
||||
|
||||
List<App> selectByConditionApp(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
Long countsByApp(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
|
||||
int batchDeleteAppByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String ids[]);
|
||||
}
|
||||
@@ -110,7 +110,6 @@ public interface DepotHeadMapperEx {
|
||||
* */
|
||||
void updatedepotHead(DepotHead depotHead);
|
||||
|
||||
void updateBuildOnlyNumber();
|
||||
/**
|
||||
* 获得一个全局唯一的数作为订单号的追加
|
||||
* */
|
||||
@@ -125,4 +124,11 @@ public interface DepotHeadMapperEx {
|
||||
List<DepotHead> getDepotHeadListByHandsPersonIds(@Param("handsPersonIds") String[] handsPersonIds);
|
||||
|
||||
List<DepotHead> getDepotHeadListByDepotIds(@Param("depotIds") String[] depotIds);
|
||||
|
||||
BigDecimal getBuyAndSaleStatistics(
|
||||
@Param("type") String type,
|
||||
@Param("subType") String subType,
|
||||
@Param("hasSupplier") Integer hasSupplier,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ 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;
|
||||
@@ -35,21 +36,6 @@ public interface DepotItemMapperEx {
|
||||
Long findDetailByTypeAndMaterialIdCounts(
|
||||
@Param("mId") Long mId);
|
||||
|
||||
List<DepotItemVo4Material> findStockNumByMaterialIdList(
|
||||
@Param("mId") Long mId,
|
||||
@Param("monthTime") String monthTime,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
Long findStockNumByMaterialIdCounts(
|
||||
@Param("mId") Long mId,
|
||||
@Param("monthTime") String monthTime);
|
||||
|
||||
Long findByTypeAndMaterialIdIn(
|
||||
@Param("mId") Long mId);
|
||||
|
||||
Long findByTypeAndMaterialIdOut(
|
||||
@Param("mId") Long mId);
|
||||
|
||||
int findByTypeAndDepotIdAndMaterialIdIn(
|
||||
@Param("depotId") Long depotId,
|
||||
@@ -72,62 +58,6 @@ public interface DepotItemMapperEx {
|
||||
@Param("headIds") String headIds,
|
||||
@Param("materialIds") String materialIds);
|
||||
|
||||
BigDecimal findByTypeInIsPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findByTypeInIsNotPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findByTypeOutIsPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findByTypeOutIsNotPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
|
||||
|
||||
BigDecimal findPriceByTypeInIsPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findPriceByTypeInIsNotPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findPriceByTypeOutIsPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findPriceByTypeOutIsNotPrev(
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findAssembleIsPrev(
|
||||
@Param("subType") String subType,
|
||||
@Param("mType") String mType,
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal findAssembleIsNotPrev(
|
||||
@Param("subType") String subType,
|
||||
@Param("mType") String mType,
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId,
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
BigDecimal buyOrSaleNumber(
|
||||
@Param("type") String type,
|
||||
@Param("subType") String subType,
|
||||
@@ -142,22 +72,23 @@ public interface DepotItemMapperEx {
|
||||
@Param("MonthTime") String MonthTime,
|
||||
@Param("sumType") String sumType);
|
||||
|
||||
BigDecimal findGiftByTypeIn(
|
||||
BigDecimal inOrOutPrice(
|
||||
@Param("type") String type,
|
||||
@Param("subType") String subType,
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId);
|
||||
@Param("MonthTime") String MonthTime);
|
||||
|
||||
DepotItemVo4Stock getStockByParam(
|
||||
@Param("depotId") Long depotId,
|
||||
@Param("mId") Long mId,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("tenantId") Long tenantId);
|
||||
|
||||
BigDecimal findGiftByTypeOut(
|
||||
@Param("subType") String subType,
|
||||
@Param("ProjectId") Integer ProjectId,
|
||||
@Param("MId") Long MId);
|
||||
/**
|
||||
* create by: cjl
|
||||
* description:
|
||||
* 通过单据主表id查询所有单据子表数据
|
||||
* create time: 2019/1/24 16:56
|
||||
* @Param: depotheadId
|
||||
* @return java.util.List<com.jsh.erp.datasource.entities.DepotItem>
|
||||
* 通过单据主表id查询所有单据子表数据
|
||||
* @param depotheadId
|
||||
* @param enableSerialNumber
|
||||
* @return
|
||||
*/
|
||||
List<DepotItem> findDepotItemListBydepotheadId(@Param("depotheadId")Long depotheadId,
|
||||
@Param("enableSerialNumber")String enableSerialNumber);
|
||||
@@ -178,11 +109,12 @@ public interface DepotItemMapperEx {
|
||||
|
||||
List<DepotItem> getDepotItemListListByMaterialIds(@Param("materialIds") String[] materialIds);
|
||||
|
||||
|
||||
List<DepotItemStockWarningCount> findStockWarningCount(@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows, @Param("pid") Integer pid);
|
||||
|
||||
int findStockWarningCountTotal( @Param("pid") Integer pid);
|
||||
|
||||
BigDecimal getFinishNumber(@Param("mid") Long mid, @Param("linkNumber") String linkNumber);
|
||||
|
||||
BigDecimal getCurrentRepByMaterialIdAndDepotId(@Param("materialId") Long materialId, @Param("depotId") Long depotId,@Param("tenantId")Long tenantId);
|
||||
}
|
||||
|
||||
96
src/main/java/com/jsh/erp/datasource/mappers/MsgMapper.java
Normal file
96
src/main/java/com/jsh/erp/datasource/mappers/MsgMapper.java
Normal file
@@ -0,0 +1,96 @@
|
||||
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);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
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);
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
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);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user