Commit 183972e6 by huluobin

# 更新

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