This commit is contained in:
cwchen 2024-07-26 10:20:38 +08:00
parent af6281c665
commit 360e670728
6 changed files with 11 additions and 5 deletions

View File

@ -48,7 +48,7 @@ public class ConfigItemsVo {
* 金额 * 金额
*/ */
@NotBlank(message = "金额不能为空", groups = {Query.class}) @NotBlank(message = "金额不能为空", groups = {Query.class})
@Pattern(regexp = "(?:0|(?:[1-9]\\d{0,8}))(\\.\\d{2})?", message = "金额格式不正确范围0-100000000并且最多保留两位小数", groups = {Query.class}) @Pattern(regexp = "(?:0(?:\\.0{0,2})?|[1-9]\\d{0,7}(?:\\.\\d{1,2})?|100000000(?:\\.0{1,2})?)", message = "金额格式不正确范围0-100000000并且最多保留两位小数", groups = {Query.class})
private String amount; private String amount;
/** /**

View File

@ -51,7 +51,7 @@ public class ExperDevVo {
private String devData; private String devData;
/**额外超出的金额默认值0*/ /**额外超出的金额默认值0*/
@NotBlank(message = "金额不能为空", groups = {Query.class}) @NotBlank(message = "金额不能为空", groups = {Query.class})
@Pattern(regexp = "(?:0|(?:[1-9]\\d{0,8}))(\\.\\d{2})?", message = "金额格式不正确范围0-100000000并且最多保留两位小数", groups = {Query.class}) @Pattern(regexp = "(?:0(?:\\.0{0,2})?|[1-9]\\d{0,7}(?:\\.\\d{1,2})?|100000000(?:\\.0{1,2})?)", message = "金额格式不正确范围0-100000000并且最多保留两位小数", groups = {Query.class})
private String amount; private String amount;
/**备注*/ /**备注*/
@NotBlank(message = "备注不能为空", groups = {Query.class}) @NotBlank(message = "备注不能为空", groups = {Query.class})

View File

@ -275,7 +275,7 @@
FROM tb_sample ts FROM tb_sample ts
LEFT JOIN tb_custom tc ON ts.custom_id = tc.id LEFT JOIN tb_custom tc ON ts.custom_id = tc.id
LEFT JOIN sys_user su ON ts.create_user = su.id AND su.del_flag = 0 LEFT JOIN sys_user su ON ts.create_user = su.id AND su.del_flag = 0
LEFT JOIN sys_user su2 ON ts.update_user = su2.id AND su2.del_flag = 0 LEFT JOIN sys_user su2 ON ts.dispatch_user = su2.id AND su2.del_flag = 0
LEFT JOIN tb_team tt ON ts.team_id = tt.id AND tt.del_flag = 0 LEFT JOIN tb_team tt ON ts.team_id = tt.id AND tt.del_flag = 0
LEFT JOIN ( LEFT JOIN (
SELECT sample_id,COUNT(sample_id) AS num,ANY_VALUE(GROUP_CONCAT(DISTINCT dev_type_name)) AS sampleDev,ANY_VALUE(GROUP_CONCAT(DISTINCT dev_type_code)) AS sampleDevCode SELECT sample_id,COUNT(sample_id) AS num,ANY_VALUE(GROUP_CONCAT(DISTINCT dev_type_name)) AS sampleDev,ANY_VALUE(GROUP_CONCAT(DISTINCT dev_type_code)) AS sampleDevCode

View File

@ -798,6 +798,10 @@ input:-ms-input-placeholder {
.classTable thead tr:nth-of-type(1) { .classTable thead tr:nth-of-type(1) {
background-color: #f0f0f0; background-color: #f0f0f0;
height: 40px; height: 40px;
font-size: 18px;
color: #262626;
letter-spacing: 1px;
font-weight: bold;
} }
.classTable thead tr:nth-of-type(1) td { .classTable thead tr:nth-of-type(1) td {
@ -825,4 +829,6 @@ input:-ms-input-placeholder {
.classTable tbody tr { .classTable tbody tr {
width: 100%; width: 100%;
cursor: pointer; cursor: pointer;
height: 40px;
letter-spacing: 1px;
} }

View File

@ -253,7 +253,7 @@ function getMouseover(data) {
html += '</table>'; html += '</table>';
let devOpenIndex = layer.open({ let devOpenIndex = layer.open({
type: 0, type: 0,
title: '样品设备详情', title: ['<div style="border-left: 3px solid #00377A;color:#00377A;font-size:18px;display: flex;letter-spacing:1px;align-items: center;height: 20px;padding: 0 10px;font-weight: bold;">样品设备详情</div>', 'font-size:16px;background-color:#f0f0f0;display: flex;align-items: center;'],
area: ['400px', '500px'], area: ['400px', '500px'],
content: html, content: html,
btn: ['关闭'], btn: ['关闭'],

View File

@ -160,7 +160,7 @@ function getMouseover(data) {
html += '</table>'; html += '</table>';
let devOpenIndex = layer.open({ let devOpenIndex = layer.open({
type: 0, type: 0,
title: '样品设备详情', title: ['<div style="border-left: 3px solid #00377A;color:#00377A;font-size:18px;display: flex;letter-spacing:1px;align-items: center;height: 20px;padding: 0 10px;font-weight: bold;">样品设备详情</div>', 'font-size:16px;background-color:#f0f0f0;display: flex;align-items: center;'],
area: ['400px', '500px'], area: ['400px', '500px'],
content: html, content: html,
btn: ['关闭'], btn: ['关闭'],