|
@@ -861,7 +861,7 @@ public class WarehousingOrderServiceImpl extends ServiceImpl<WarehousingOrderMap
|
|
* 甘南宏旗库入库单
|
|
* 甘南宏旗库入库单
|
|
*/
|
|
*/
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
- @Scheduled(cron = "0 00 17 * * ?")
|
|
|
|
|
|
+// @Scheduled(cron = "0 00 17 * * ?")
|
|
public String addInfoGN() {
|
|
public String addInfoGN() {
|
|
if ("3".equals(ENV)) {
|
|
if ("3".equals(ENV)) {
|
|
//当天零点
|
|
//当天零点
|
|
@@ -872,7 +872,7 @@ public class WarehousingOrderServiceImpl extends ServiceImpl<WarehousingOrderMap
|
|
String beforeDay = now.format(c.getTime());
|
|
String beforeDay = now.format(c.getTime());
|
|
Map<String, Object> pageView = new HashMap<>();
|
|
Map<String, Object> pageView = new HashMap<>();
|
|
pageView.put("beforeDay", beforeDay);
|
|
pageView.put("beforeDay", beforeDay);
|
|
- pageView.put("warehouseName", "甘南宏旗库");
|
|
|
|
|
|
+// pageView.put("warehouseName", "甘南宏旗库");
|
|
//收购
|
|
//收购
|
|
List<WarehousingOrder> dataList = baseMapper.getAcquisitionListByCondition(pageView);
|
|
List<WarehousingOrder> dataList = baseMapper.getAcquisitionListByCondition(pageView);
|
|
if (!CollectionUtils.isEmpty(dataList)) {
|
|
if (!CollectionUtils.isEmpty(dataList)) {
|
|
@@ -1294,7 +1294,7 @@ public class WarehousingOrderServiceImpl extends ServiceImpl<WarehousingOrderMap
|
|
//查剩余重量>0的入库单
|
|
//查剩余重量>0的入库单
|
|
List<WarehousingOrder> warehousingOrderList = this.selectList(new EntityWrapper<WarehousingOrder>()
|
|
List<WarehousingOrder> warehousingOrderList = this.selectList(new EntityWrapper<WarehousingOrder>()
|
|
.eq("comp_id", enabledInfo.getCompId())
|
|
.eq("comp_id", enabledInfo.getCompId())
|
|
- .eq("warehouse_name","甘南宏旗库")
|
|
|
|
|
|
+// .eq("warehouse_name","甘南宏旗库")
|
|
.gt("surplus_weight", 0));
|
|
.gt("surplus_weight", 0));
|
|
if (!CollectionUtils.isEmpty(warehousingOrderList)) {
|
|
if (!CollectionUtils.isEmpty(warehousingOrderList)) {
|
|
for (WarehousingOrder warehousingOrder : warehousingOrderList) {
|
|
for (WarehousingOrder warehousingOrder : warehousingOrderList) {
|