重构
This commit is contained in:
parent
1ddf362e05
commit
b757013382
@ -1,9 +1,9 @@
|
|||||||
package com.xkrs.controller;
|
package com.xkrs.controller;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoDelete;
|
import com.xkrs.model.qo.QcItemQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoInsert;
|
import com.xkrs.model.qo.QcItemQoInsert;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoUpdate;
|
import com.xkrs.model.qo.QcItemQoUpdate;
|
||||||
import com.xkrs.newpro.service.QcItemService;
|
import com.xkrs.service.QcItemService;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.xkrs.controller;
|
package com.xkrs.controller;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.qo.QcSourceQoDelete;
|
import com.xkrs.model.qo.QcSourceQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcSourceQoInsert;
|
import com.xkrs.model.qo.QcSourceQoInsert;
|
||||||
import com.xkrs.newpro.service.QcSourceService;
|
import com.xkrs.service.QcSourceService;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.xkrs.controller;
|
package com.xkrs.controller;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoDelete;
|
import com.xkrs.model.qo.QcSpecQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoInsert;
|
import com.xkrs.model.qo.QcSpecQoInsert;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoUpdate;
|
import com.xkrs.model.qo.QcSpecQoUpdate;
|
||||||
import com.xkrs.newpro.service.QcSpecService;
|
import com.xkrs.service.QcSpecService;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.xkrs.dao;
|
package com.xkrs.dao;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.entity.QcItemEntity;
|
import com.xkrs.model.entity.QcItemEntity;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||||
import org.springframework.data.jpa.repository.Modifying;
|
import org.springframework.data.jpa.repository.Modifying;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.xkrs.dao;
|
package com.xkrs.dao;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.entity.QcSourceEntity;
|
import com.xkrs.model.entity.QcSourceEntity;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.xkrs.dao;
|
package com.xkrs.dao;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.entity.QcSpecEntity;
|
import com.xkrs.model.entity.QcSpecEntity;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||||
import org.springframework.data.jpa.repository.Modifying;
|
import org.springframework.data.jpa.repository.Modifying;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.entity;
|
package com.xkrs.model.entity;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.xkrs.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
import com.xkrs.model.validation.FileQoInsert;
|
import com.xkrs.model.va.FileQoInsert;
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除检验项目接收类
|
* 删除检验项目接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增检验项目接收类
|
* 新增检验项目接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新检验项目接收类
|
* 更新检验项目接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除检验数据接收类
|
* 删除检验数据接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增检验数据接收类
|
* 新增检验数据接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除检验规格接收类
|
* 删除检验规格接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增检验规格接收类
|
* 新增检验规格接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.qo;
|
package com.xkrs.model.qo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新检验规格接收类
|
* 更新检验规格接收类
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.model.validation;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author: XinYi Song
|
* @Author: XinYi Song
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcItemQoDeleteVa {
|
public interface QcItemQoDeleteVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcItemQoInsertVa {
|
public interface QcItemQoInsertVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcItemQoQueryVa {
|
public interface QcItemQoQueryVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcItemQoUpdateVa {
|
public interface QcItemQoUpdateVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSourceQoDeleteVa {
|
public interface QcSourceQoDeleteVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSourceQoInsertVa {
|
public interface QcSourceQoInsertVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSourceQoQueryVa {
|
public interface QcSourceQoQueryVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSpecQoDeleteVa {
|
public interface QcSpecQoDeleteVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSpecQoInsertVa {
|
public interface QcSpecQoInsertVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSpecQoQueryVa {
|
public interface QcSpecQoQueryVa {
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.model.va;
|
package com.xkrs.model.va;
|
||||||
|
|
||||||
public interface QcSpecQoUpdateVa {
|
public interface QcSpecQoUpdateVa {
|
||||||
}
|
}
|
@ -1,8 +1,8 @@
|
|||||||
package com.xkrs.newpro.service;
|
package com.xkrs.service;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoDelete;
|
import com.xkrs.model.qo.QcItemQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoInsert;
|
import com.xkrs.model.qo.QcItemQoInsert;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoUpdate;
|
import com.xkrs.model.qo.QcItemQoUpdate;
|
||||||
|
|
||||||
public interface QcItemService {
|
public interface QcItemService {
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
package com.xkrs.newpro.service;
|
package com.xkrs.service;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.qo.QcSourceQoDelete;
|
import com.xkrs.model.qo.QcSourceQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcSourceQoInsert;
|
import com.xkrs.model.qo.QcSourceQoInsert;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
public interface QcSourceService {
|
public interface QcSourceService {
|
@ -1,8 +1,8 @@
|
|||||||
package com.xkrs.newpro.service;
|
package com.xkrs.service;
|
||||||
|
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoDelete;
|
import com.xkrs.model.qo.QcSpecQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoInsert;
|
import com.xkrs.model.qo.QcSpecQoInsert;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoUpdate;
|
import com.xkrs.model.qo.QcSpecQoUpdate;
|
||||||
|
|
||||||
public interface QcSpecService {
|
public interface QcSpecService {
|
||||||
|
|
@ -1,14 +1,14 @@
|
|||||||
package com.xkrs.newpro.service.impl;
|
package com.xkrs.service.impl;
|
||||||
|
|
||||||
import com.xkrs.encapsulation.PromptMessageEnum;
|
import com.xkrs.encapsulation.PromptMessageEnum;
|
||||||
import com.xkrs.dao.QcItemDao;
|
import com.xkrs.dao.QcItemDao;
|
||||||
import com.xkrs.newpro.model.entity.QcItemEntity;
|
import com.xkrs.model.entity.QcItemEntity;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoDelete;
|
import com.xkrs.model.qo.QcItemQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoInsert;
|
import com.xkrs.model.qo.QcItemQoInsert;
|
||||||
import com.xkrs.newpro.model.qo.QcItemQoUpdate;
|
import com.xkrs.model.qo.QcItemQoUpdate;
|
||||||
import com.xkrs.newpro.service.QcItemService;
|
import com.xkrs.service.QcItemService;
|
||||||
import com.xkrs.newpro.utils.LocalDateUtils;
|
import com.xkrs.util.LocalDateUtils;
|
||||||
import com.xkrs.newpro.utils.LocalStringUtils;
|
import com.xkrs.util.LocalStringUtils;
|
||||||
import org.springframework.context.i18n.LocaleContextHolder;
|
import org.springframework.context.i18n.LocaleContextHolder;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
@ -1,16 +1,16 @@
|
|||||||
package com.xkrs.newpro.service.impl;
|
package com.xkrs.service.impl;
|
||||||
|
|
||||||
import com.xkrs.encapsulation.PromptMessageEnum;
|
import com.xkrs.encapsulation.PromptMessageEnum;
|
||||||
import com.xkrs.dao.QcItemDao;
|
import com.xkrs.dao.QcItemDao;
|
||||||
import com.xkrs.dao.QcSourceDao;
|
import com.xkrs.dao.QcSourceDao;
|
||||||
import com.xkrs.newpro.model.entity.QcItemEntity;
|
import com.xkrs.model.entity.QcItemEntity;
|
||||||
import com.xkrs.newpro.model.entity.QcSourceEntity;
|
import com.xkrs.model.entity.QcSourceEntity;
|
||||||
import com.xkrs.newpro.model.qo.QcSourceQoDelete;
|
import com.xkrs.model.qo.QcSourceQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcSourceQoInsert;
|
import com.xkrs.model.qo.QcSourceQoInsert;
|
||||||
import com.xkrs.newpro.service.QcSourceService;
|
import com.xkrs.service.QcSourceService;
|
||||||
import com.xkrs.newpro.utils.Constant;
|
import com.xkrs.util.Constant;
|
||||||
import com.xkrs.newpro.utils.LocalDateUtils;
|
import com.xkrs.util.LocalDateUtils;
|
||||||
import com.xkrs.newpro.utils.LocalStringUtils;
|
import com.xkrs.util.LocalStringUtils;
|
||||||
import com.xkrs.util.ExcelUploadUtil;
|
import com.xkrs.util.ExcelUploadUtil;
|
||||||
import org.springframework.context.i18n.LocaleContextHolder;
|
import org.springframework.context.i18n.LocaleContextHolder;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
@ -1,16 +1,16 @@
|
|||||||
package com.xkrs.newpro.service.impl;
|
package com.xkrs.service.impl;
|
||||||
|
|
||||||
import com.xkrs.encapsulation.PromptMessageEnum;
|
import com.xkrs.encapsulation.PromptMessageEnum;
|
||||||
import com.xkrs.dao.QcItemDao;
|
import com.xkrs.dao.QcItemDao;
|
||||||
import com.xkrs.dao.QcSpecDao;
|
import com.xkrs.dao.QcSpecDao;
|
||||||
import com.xkrs.newpro.model.entity.QcItemEntity;
|
import com.xkrs.model.entity.QcItemEntity;
|
||||||
import com.xkrs.newpro.model.entity.QcSpecEntity;
|
import com.xkrs.model.entity.QcSpecEntity;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoDelete;
|
import com.xkrs.model.qo.QcSpecQoDelete;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoInsert;
|
import com.xkrs.model.qo.QcSpecQoInsert;
|
||||||
import com.xkrs.newpro.model.qo.QcSpecQoUpdate;
|
import com.xkrs.model.qo.QcSpecQoUpdate;
|
||||||
import com.xkrs.newpro.service.QcSpecService;
|
import com.xkrs.service.QcSpecService;
|
||||||
import com.xkrs.newpro.utils.LocalDateUtils;
|
import com.xkrs.util.LocalDateUtils;
|
||||||
import com.xkrs.newpro.utils.LocalStringUtils;
|
import com.xkrs.util.LocalStringUtils;
|
||||||
import org.springframework.context.i18n.LocaleContextHolder;
|
import org.springframework.context.i18n.LocaleContextHolder;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.utils;
|
package com.xkrs.util;
|
||||||
|
|
||||||
public interface Constant {
|
public interface Constant {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.utils;
|
package com.xkrs.util;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.xkrs.newpro.utils;
|
package com.xkrs.util;
|
||||||
|
|
||||||
public class LocalStringUtils {
|
public class LocalStringUtils {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user