微调
This commit is contained in:
@@ -91,8 +91,8 @@ public class PqDevParam {
|
|||||||
@ApiModelProperty("样品编号")
|
@ApiModelProperty("样品编号")
|
||||||
private String sampleId;
|
private String sampleId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "送样日期", required = false)
|
@ApiModelProperty(value = "送样日期")
|
||||||
@DateTimeStrValid(format = "yyyy-MM-dd", message = MachineValidMessage.ARRIVEDATETIME_FORMAT_ERROR)
|
@DateTimeStrValid(message = MachineValidMessage.ARRIVE_DATE_TIME_FORMAT_ERROR)
|
||||||
private String arrivedDate;
|
private String arrivedDate;
|
||||||
|
|
||||||
@ApiModelProperty("所属地市名称")
|
@ApiModelProperty("所属地市名称")
|
||||||
|
|||||||
@@ -48,5 +48,5 @@ public interface MachineValidMessage {
|
|||||||
|
|
||||||
String RECHECK_NUM_NOT_NULL = "复检次数不能为空,请检查reCheckNum参数";
|
String RECHECK_NUM_NOT_NULL = "复检次数不能为空,请检查reCheckNum参数";
|
||||||
|
|
||||||
String ARRIVEDATETIME_FORMAT_ERROR = "送样日期格式错误,请检查arrivedDateTime参数";
|
String ARRIVE_DATE_TIME_FORMAT_ERROR = "送样日期格式错误,请检查arrivedDateTime参数";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ import com.njcn.gather.system.dictionary.pojo.po.DictPq;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author caizehui
|
||||||
|
*/
|
||||||
public interface IDictPqService extends IService<DictPq> {
|
public interface IDictPqService extends IService<DictPq> {
|
||||||
/**
|
/**
|
||||||
* 分页查询电能质量指标字典列表
|
* 分页查询电能质量指标字典列表
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ import org.springframework.stereotype.Service;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author caozehui
|
||||||
|
*/
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class DictPqServiceImpl extends ServiceImpl<DictPqMapper, DictPq> implements IDictPqService {
|
public class DictPqServiceImpl extends ServiceImpl<DictPqMapper, DictPq> implements IDictPqService {
|
||||||
|
|||||||
Reference in New Issue
Block a user