Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
jsherp-java-test
Commits
82cad570
Commit
82cad570
authored
Nov 22, 2023
by
gu-jinli1118
Browse files
Test
parents
Changes
220
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
736 additions
and
0 deletions
+736
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java
.../java/com/jsh/erp/datasource/mappers/DepotItemMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapperEx.java
...ava/com/jsh/erp/datasource/mappers/DepotItemMapperEx.java
+189
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotMapper.java
...main/java/com/jsh/erp/datasource/mappers/DepotMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotMapperEx.java
...in/java/com/jsh/erp/datasource/mappers/DepotMapperEx.java
+28
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/FunctionMapper.java
...n/java/com/jsh/erp/datasource/mappers/FunctionMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/FunctionMapperEx.java
...java/com/jsh/erp/datasource/mappers/FunctionMapperEx.java
+23
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapper.java
.../java/com/jsh/erp/datasource/mappers/InOutItemMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapperEx.java
...ava/com/jsh/erp/datasource/mappers/InOutItemMapperEx.java
+26
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java
...c/main/java/com/jsh/erp/datasource/mappers/LogMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/LogMapperEx.java
...main/java/com/jsh/erp/datasource/mappers/LogMapperEx.java
+40
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialAttributeMapper.java
...m/jsh/erp/datasource/mappers/MaterialAttributeMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialAttributeMapperEx.java
...jsh/erp/datasource/mappers/MaterialAttributeMapperEx.java
+21
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java
...om/jsh/erp/datasource/mappers/MaterialCategoryMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapperEx.java
.../jsh/erp/datasource/mappers/MaterialCategoryMapperEx.java
+42
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCurrentStockMapper.java
...sh/erp/datasource/mappers/MaterialCurrentStockMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCurrentStockMapperEx.java
.../erp/datasource/mappers/MaterialCurrentStockMapperEx.java
+16
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialExtendMapper.java
.../com/jsh/erp/datasource/mappers/MaterialExtendMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialExtendMapperEx.java
...om/jsh/erp/datasource/mappers/MaterialExtendMapperEx.java
+26
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialInitialStockMapper.java
...sh/erp/datasource/mappers/MaterialInitialStockMapper.java
+31
-0
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialInitialStockMapperEx.java
.../erp/datasource/mappers/MaterialInitialStockMapperEx.java
+15
-0
No files found.
Too many changes to show.
To preserve performance only
220 of 220+
files are displayed.
Plain diff
Email patch
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapperEx.java
0 → 100644
View file @
82cad570
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
com.jsh.erp.datasource.vo.DepotItemVoBatchNumberList
;
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
>
findDetailByDepotIdsAndMaterialIdList
(
@Param
(
"depotIdArray"
)
String
[]
depotIdArray
,
@Param
(
"sku"
)
String
sku
,
@Param
(
"mId"
)
Long
mId
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
Long
findDetailByDepotIdsAndMaterialIdCount
(
@Param
(
"depotIdArray"
)
String
[]
depotIdArray
,
@Param
(
"sku"
)
String
sku
,
@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
);
List
<
DepotItemVo4WithInfoEx
>
getListWithBugOrSale
(
@Param
(
"materialParam"
)
String
materialParam
,
@Param
(
"billType"
)
String
billType
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"creatorArray"
)
String
[]
creatorArray
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
int
getListWithBugOrSaleCount
(
@Param
(
"materialParam"
)
String
materialParam
,
@Param
(
"billType"
)
String
billType
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"creatorArray"
)
String
[]
creatorArray
);
BigDecimal
buyOrSaleNumber
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"creatorArray"
)
String
[]
creatorArray
,
@Param
(
"sumType"
)
String
sumType
);
BigDecimal
buyOrSalePrice
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"MId"
)
Long
MId
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"creatorArray"
)
String
[]
creatorArray
,
@Param
(
"sumType"
)
String
sumType
);
BigDecimal
inOrOutPrice
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"creatorArray"
)
String
[]
creatorArray
);
BigDecimal
inOrOutRetailPrice
(
@Param
(
"type"
)
String
type
,
@Param
(
"subType"
)
String
subType
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"creatorArray"
)
String
[]
creatorArray
);
BigDecimal
getStockCheckSumByDepotList
(
@Param
(
"depotList"
)
List
<
Long
>
depotList
,
@Param
(
"mId"
)
Long
mId
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
);
DepotItemVo4Stock
getSkuStockByParam
(
@Param
(
"depotId"
)
Long
depotId
,
@Param
(
"meId"
)
Long
meId
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
);
DepotItemVo4Stock
getStockByParamWithDepotList
(
@Param
(
"depotList"
)
List
<
Long
>
depotList
,
@Param
(
"mId"
)
Long
mId
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
);
/**
* 通过单据主表id查询所有单据子表数据
* @param depotheadId
* @param enableSerialNumber
* @return
*/
List
<
DepotItem
>
findDepotItemListBydepotheadId
(
@Param
(
"depotheadId"
)
Long
depotheadId
,
@Param
(
"enableSerialNumber"
)
String
enableSerialNumber
);
/**
* 根据单据主表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
(
"depotList"
)
List
<
Long
>
depotList
);
int
findStockWarningCountTotal
(
@Param
(
"materialParam"
)
String
materialParam
,
@Param
(
"depotList"
)
List
<
Long
>
depotList
);
BigDecimal
getFinishNumber
(
@Param
(
"meId"
)
Long
meId
,
@Param
(
"linkId"
)
Long
linkId
,
@Param
(
"linkNumber"
)
String
linkNumber
,
@Param
(
"goToType"
)
String
goToType
);
BigDecimal
getRealFinishNumber
(
@Param
(
"meId"
)
Long
meId
,
@Param
(
"linkId"
)
Long
linkId
,
@Param
(
"linkNumber"
)
String
linkNumber
,
@Param
(
"currentHeaderId"
)
Long
currentHeaderId
,
@Param
(
"goToType"
)
String
goToType
);
List
<
DepotItemVoBatchNumberList
>
getBatchNumberList
(
@Param
(
"number"
)
String
number
,
@Param
(
"name"
)
String
name
,
@Param
(
"depotId"
)
Long
depotId
,
@Param
(
"barCode"
)
String
barCode
,
@Param
(
"batchNumber"
)
String
batchNumber
);
Long
getCountByMaterialAndDepot
(
@Param
(
"mId"
)
Long
mId
,
@Param
(
"depotId"
)
Long
depotId
);
List
<
DepotItemVo4MaterialAndSum
>
getLinkBillDetailMaterialSum
(
@Param
(
"linkNumber"
)
String
linkNumber
);
List
<
DepotItemVo4MaterialAndSum
>
getBatchBillDetailMaterialSum
(
@Param
(
"linkNumber"
)
String
linkNumber
,
@Param
(
"type"
)
String
type
);
Long
getCountByMaterialAndBatchNumber
(
@Param
(
"meId"
)
Long
meId
,
@Param
(
"batchNumber"
)
String
batchNumber
);
List
<
DepotItem
>
getDepotItemByBatchNumber
(
@Param
(
"batchNumber"
)
String
batchNumber
);
}
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotMapper.java
0 → 100644
View file @
82cad570
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
{
long
countByExample
(
DepotExample
example
);
int
deleteByExample
(
DepotExample
example
);
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
Depot
record
);
int
insertSelective
(
Depot
record
);
List
<
Depot
>
selectByExample
(
DepotExample
example
);
Depot
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
Depot
record
,
@Param
(
"example"
)
DepotExample
example
);
int
updateByExample
(
@Param
(
"record"
)
Depot
record
,
@Param
(
"example"
)
DepotExample
example
);
int
updateByPrimaryKeySelective
(
Depot
record
);
int
updateByPrimaryKey
(
Depot
record
);
}
\ No newline at end of file
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/DepotMapperEx.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/FunctionMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/FunctionMapperEx.java
0 → 100644
View file @
82cad570
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.FunctionEx
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.Date
;
import
java.util.List
;
public
interface
FunctionMapperEx
{
List
<
FunctionEx
>
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapperEx.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/LogMapperEx.java
0 → 100644
View file @
82cad570
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
(
"userInfo"
)
String
userInfo
,
@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
(
"userInfo"
)
String
userInfo
,
@Param
(
"clientIp"
)
String
clientIp
,
@Param
(
"status"
)
Integer
status
,
@Param
(
"beginTime"
)
String
beginTime
,
@Param
(
"endTime"
)
String
endTime
,
@Param
(
"content"
)
String
content
);
Long
getCountByIpAndDate
(
@Param
(
"userId"
)
Long
userId
,
@Param
(
"moduleName"
)
String
moduleName
,
@Param
(
"clientIp"
)
String
clientIp
,
@Param
(
"createTime"
)
String
createTime
);
int
insertLogWithUserId
(
Log
log
);
}
\ No newline at end of file
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialAttributeMapper.java
0 → 100644
View file @
82cad570
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
);
}
\ No newline at end of file
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialAttributeMapperEx.java
0 → 100644
View file @
82cad570
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
(
"attributeName"
)
String
attributeName
,
@Param
(
"offset"
)
Integer
offset
,
@Param
(
"rows"
)
Integer
rows
);
Long
countsByMaterialAttribute
(
@Param
(
"attributeField"
)
String
attributeField
);
int
batchDeleteMaterialAttributeByIds
(
@Param
(
"ids"
)
String
ids
[]);
}
\ No newline at end of file
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapperEx.java
0 → 100644
View file @
82cad570
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
);
}
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCurrentStockMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialCurrentStockMapperEx.java
0 → 100644
View file @
82cad570
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.MaterialCurrentStock
;
import
com.jsh.erp.datasource.entities.MaterialCurrentStockExample
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
MaterialCurrentStockMapperEx
{
int
batchInsert
(
List
<
MaterialCurrentStock
>
list
);
List
<
MaterialCurrentStock
>
getCurrentStockMapByIdList
(
@Param
(
"materialIdList"
)
List
<
Long
>
materialIdList
);
}
\ No newline at end of file
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialExtendMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialExtendMapperEx.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialInitialStockMapper.java
0 → 100644
View file @
82cad570
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
JSH_ERP/jshERP-boot/src/main/java/com/jsh/erp/datasource/mappers/MaterialInitialStockMapperEx.java
0 → 100644
View file @
82cad570
package
com.jsh.erp.datasource.mappers
;
import
com.jsh.erp.datasource.entities.MaterialCurrentStock
;
import
com.jsh.erp.datasource.entities.MaterialInitialStock
;
import
com.jsh.erp.datasource.entities.MaterialInitialStockExample
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
MaterialInitialStockMapperEx
{
int
batchInsert
(
List
<
MaterialInitialStock
>
list
);
}
\ No newline at end of file
Prev
1
…
4
5
6
7
8
9
10
11
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment