forked from gzzfw/backEnd/gz-dyh

liyj
2024-08-28 c1c140874bd375e36f4efa0b45e819e7cd22aaa6
dyh-service/dyh-utils/src/main/java/cn/huge/module/common/controller/IdUtilsController.java
@@ -2,9 +2,7 @@
import cn.huge.base.common.utils.ReturnFailUtils;
import cn.huge.base.common.utils.ReturnSucUtils;
import cn.huge.module.common.utils.CaseIdUtils;
import cn.huge.module.common.utils.CommonIdUtils;
import cn.huge.module.common.utils.JudicIdUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
@@ -28,36 +26,6 @@
    @Autowired(required = false)
    private HttpServletRequest request;
    /**
     * 案件id-获取时间Id,后四位常量
     * @url {ctx}/common/api/idUtils/getCaseNewTimeId
     * @return Object
     */
    @GetMapping("/getCaseNewTimeId")
    public Object getCaseNewTimeId() {
        try {
            return ReturnSucUtils.getRepInfo(CaseIdUtils.getNewTimeId());
        } catch (Exception e) {
            return ReturnFailUtils.getRepInfo();
        }
    }
    /**
     * 司法确认id-获取时间Id,后四位常量
     * @url {ctx}/common/api/idUtils/getJudicNewTimeId
     * @return Object
     */
    @GetMapping("/getJudicNewTimeId")
    public Object getJudicNewTimeId() {
        try {
            return ReturnSucUtils.getRepInfo(JudicIdUtils.getNewTimeId());
        } catch (Exception e) {
            return ReturnFailUtils.getRepInfo();
        }
    }
    /**