|
|
|
@ -20,6 +20,7 @@ import com.glxp.api.service.auth.InvSpaceService;
|
|
|
|
|
import com.glxp.api.service.inv.InvProductDetailService;
|
|
|
|
|
import com.glxp.api.util.MsDateUtil;
|
|
|
|
|
import com.glxp.api.util.IntUtil;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
@ -27,6 +28,7 @@ import javax.annotation.Resource;
|
|
|
|
|
import java.util.Collections;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Slf4j
|
|
|
|
|
@Service
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
|
public class InvProductDetailServiceImpl implements InvProductDetailService {
|
|
|
|
@ -186,7 +188,7 @@ public class InvProductDetailServiceImpl implements InvProductDetailService {
|
|
|
|
|
.eq(StrUtil.isNotEmpty(invSpaceCode), "invSpaceCode", invSpaceCode)
|
|
|
|
|
.and(StrUtil.isEmpty(batchNo), i -> i.isNull("batchNo").or().eq("batchNo", ""))
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
log.error("校验入账库存日志打印:" + relId + "," + batchNo + "," + supId + "," + deptCode + "," + invCode + "," + invSpaceCode);
|
|
|
|
|
int count = 0;
|
|
|
|
|
if (CollUtil.isNotEmpty(datas)) {
|
|
|
|
|
for (InvProductDetailEntity invProductDetailEntity : datas) {
|
|
|
|
|