fix:代码坏味道修改

dev
wangxy 11 months ago
parent 4a4bb437eb
commit 6b0a027bed

@ -18,7 +18,6 @@ import com.hyp.system.domain.vo.ApplyInfoListVO;
import com.hyp.system.domain.vo.FileRelationVO; import com.hyp.system.domain.vo.FileRelationVO;
import com.hyp.system.service.*; import com.hyp.system.service.*;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
@ -52,7 +51,7 @@ public class ApplyInfoListManager {
private RewFileRelationService relationService; private RewFileRelationService relationService;
@Autowired @Resource
private ISysDictTypeService dictTypeService; private ISysDictTypeService dictTypeService;

@ -19,7 +19,6 @@ import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Objects;
/** /**
* packageName com.hyp.web.controller.manager * packageName com.hyp.web.controller.manager

@ -4,9 +4,9 @@ import com.hyp.common.core.text.Convert;
import com.hyp.common.utils.StringUtils; import com.hyp.common.utils.StringUtils;
import com.hyp.system.domain.SysNotice; import com.hyp.system.domain.SysNotice;
import com.hyp.system.service.ISysNoticeService; import com.hyp.system.service.ISysNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.Arrays; import java.util.Arrays;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@ -23,7 +23,7 @@ import java.util.List;
@Component @Component
public class SysNoticeManager { public class SysNoticeManager {
@Autowired @Resource
private ISysNoticeService noticeService; private ISysNoticeService noticeService;
/** /**

Loading…
Cancel
Save