Commit 183972e6 by huluobin

# 更新

parent 3fe050cb
...@@ -18,6 +18,7 @@ import com.blt.other.module.sys.model.DepartmentReviewer; ...@@ -18,6 +18,7 @@ import com.blt.other.module.sys.model.DepartmentReviewer;
import com.blt.other.module.sys.model.SpecDepartmentCheckConfig; import com.blt.other.module.sys.model.SpecDepartmentCheckConfig;
import lombok.Data; import lombok.Data;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -36,6 +37,7 @@ import java.util.stream.Collectors; ...@@ -36,6 +37,7 @@ import java.util.stream.Collectors;
*/ */
@Slf4j @Slf4j
@Component @Component
@Scope("prototype")
public class DepartmentCheckState extends CostState { public class DepartmentCheckState extends CostState {
@Resource @Resource
......
...@@ -11,6 +11,7 @@ import com.blt.other.module.cost.model.CostDomain; ...@@ -11,6 +11,7 @@ import com.blt.other.module.cost.model.CostDomain;
import com.blt.other.module.cost.model.CostTemplate; import com.blt.other.module.cost.model.CostTemplate;
import com.blt.other.module.sys.model.CostReviewer; import com.blt.other.module.sys.model.CostReviewer;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -31,6 +32,7 @@ import java.util.stream.Collectors; ...@@ -31,6 +32,7 @@ import java.util.stream.Collectors;
*/ */
@Slf4j @Slf4j
@Component @Component
@Scope("prototype")
public class FinalCheckState extends CostState { public class FinalCheckState extends CostState {
@Resource @Resource
......
...@@ -10,6 +10,7 @@ import com.blt.other.module.cost.model.CostCurrentReviewer; ...@@ -10,6 +10,7 @@ import com.blt.other.module.cost.model.CostCurrentReviewer;
import com.blt.other.module.cost.model.CostDomain; import com.blt.other.module.cost.model.CostDomain;
import com.blt.other.module.cost.model.CostTemplate; import com.blt.other.module.cost.model.CostTemplate;
import com.blt.other.module.sys.model.CostReviewer; import com.blt.other.module.sys.model.CostReviewer;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -27,6 +28,7 @@ import java.util.stream.Collectors; ...@@ -27,6 +28,7 @@ import java.util.stream.Collectors;
* @since 2020/10/30 2:57 下午 * @since 2020/10/30 2:57 下午
*/ */
@Component @Component
@Scope("prototype")
public class FinancialCheckState extends CostState { public class FinancialCheckState extends CostState {
......
...@@ -12,6 +12,7 @@ import com.blt.other.module.cost.model.CostDomain; ...@@ -12,6 +12,7 @@ import com.blt.other.module.cost.model.CostDomain;
import com.blt.other.module.cost.model.CostTemplate; import com.blt.other.module.cost.model.CostTemplate;
import com.blt.other.module.sys.model.CostReviewer; import com.blt.other.module.sys.model.CostReviewer;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import javax.annotation.Resource; import javax.annotation.Resource;
...@@ -27,6 +28,7 @@ import java.util.List; ...@@ -27,6 +28,7 @@ import java.util.List;
* @since 2020/10/30 2:57 下午 * @since 2020/10/30 2:57 下午
*/ */
@Component @Component
@Scope("prototype")
public class HrCheckState extends CostState { public class HrCheckState extends CostState {
@Autowired @Autowired
......
package com.blt.other.module.cost.service.impl.costcheck; package com.blt.other.module.cost.service.impl.costcheck;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
/** /**
...@@ -11,6 +12,7 @@ import org.springframework.stereotype.Component; ...@@ -11,6 +12,7 @@ import org.springframework.stereotype.Component;
* @since 2020/10/30 2:57 下午 * @since 2020/10/30 2:57 下午
*/ */
@Component @Component
@Scope("prototype")
public class PayedState extends CostState { public class PayedState extends CostState {
@Override @Override
......
package com.blt.other.module.cost.service.impl.costcheck; package com.blt.other.module.cost.service.impl.costcheck;
import com.blt.other.common.exception.BizRuntimeException; import com.blt.other.common.exception.BizRuntimeException;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
/** /**
...@@ -12,6 +13,7 @@ import org.springframework.stereotype.Component; ...@@ -12,6 +13,7 @@ import org.springframework.stereotype.Component;
* @since 2020/10/30 2:57 下午 * @since 2020/10/30 2:57 下午
*/ */
@Component @Component
@Scope("prototype")
public class RefuseState extends CostState { public class RefuseState extends CostState {
@Override @Override
......
...@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; ...@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.blt.other.common.exception.BizRuntimeException; import com.blt.other.common.exception.BizRuntimeException;
import com.blt.other.module.cost.model.CostCurrentReviewer; import com.blt.other.module.cost.model.CostCurrentReviewer;
import com.blt.other.module.cost.model.CostDomain; import com.blt.other.module.cost.model.CostDomain;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
/** /**
...@@ -15,6 +16,7 @@ import org.springframework.stereotype.Component; ...@@ -15,6 +16,7 @@ import org.springframework.stereotype.Component;
* @since 2020/10/30 2:57 下午 * @since 2020/10/30 2:57 下午
*/ */
@Component @Component
@Scope("prototype")
public class UnPayState extends CostState { public class UnPayState extends CostState {
@Override @Override
......
...@@ -2,6 +2,7 @@ package com.blt.other.module.cost.service.impl.costcheck; ...@@ -2,6 +2,7 @@ package com.blt.other.module.cost.service.impl.costcheck;
import com.blt.other.common.exception.BizRuntimeException; import com.blt.other.common.exception.BizRuntimeException;
import com.blt.other.module.cost.model.CostDomain; import com.blt.other.module.cost.model.CostDomain;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -17,6 +18,7 @@ import java.time.LocalDateTime; ...@@ -17,6 +18,7 @@ import java.time.LocalDateTime;
* @since 2020/10/30 2:57 下午 * @since 2020/10/30 2:57 下午
*/ */
@Component @Component
@Scope("prototype")
public class UnSubmitState extends CostState { public class UnSubmitState extends CostState {
@Resource @Resource
......
Markdown is supported
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