This commit is contained in:
2024-11-07 20:52:56 +08:00
parent 05cdb20594
commit f0e82c458c
4 changed files with 9 additions and 3 deletions

View File

@@ -91,8 +91,8 @@ public class PqDevParam {
@ApiModelProperty("样品编号")
private String sampleId;
@ApiModelProperty(value = "送样日期", required = false)
@DateTimeStrValid(format = "yyyy-MM-dd", message = MachineValidMessage.ARRIVEDATETIME_FORMAT_ERROR)
@ApiModelProperty(value = "送样日期")
@DateTimeStrValid(message = MachineValidMessage.ARRIVE_DATE_TIME_FORMAT_ERROR)
private String arrivedDate;
@ApiModelProperty("所属地市名称")

View File

@@ -48,5 +48,5 @@ public interface MachineValidMessage {
String RECHECK_NUM_NOT_NULL = "复检次数不能为空请检查reCheckNum参数";
String ARRIVEDATETIME_FORMAT_ERROR = "送样日期格式错误请检查arrivedDateTime参数";
String ARRIVE_DATE_TIME_FORMAT_ERROR = "送样日期格式错误请检查arrivedDateTime参数";
}

View File

@@ -7,6 +7,9 @@ import com.njcn.gather.system.dictionary.pojo.po.DictPq;
import java.util.List;
/**
* @author caizehui
*/
public interface IDictPqService extends IService<DictPq> {
/**
* 分页查询电能质量指标字典列表

View File

@@ -21,6 +21,9 @@ import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author caozehui
*/
@Service
@RequiredArgsConstructor
public class DictPqServiceImpl extends ServiceImpl<DictPqMapper, DictPq> implements IDictPqService {