盘点绑定修复
This commit is contained in:
parent
b3e90a6463
commit
4f29c8860b
|
|
@ -43,6 +43,8 @@ import javax.servlet.http.HttpServletResponse;
|
|||
import java.io.*;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.RoundingMode;
|
||||
import java.time.LocalDate;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.*;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
|
@ -276,6 +278,13 @@ public class PurchaseBindServiceImpl implements IPurchaseBindService {
|
|||
wsMaInfo.setSupplier(dto.getSupplierName());
|
||||
wsMaInfo.setModelId(dto.getTypeId() + "");
|
||||
wsMaInfo.setQrCode(dto.getQrCode());
|
||||
wsMaInfo.setOptUser(SecurityUtils.getLoginUser().getSysUser().getNickName());
|
||||
wsMaInfo.setCheckMan(SecurityUtils.getLoginUser().getSysUser().getNickName());
|
||||
wsMaInfo.setPhone("0551-63703966");
|
||||
wsMaInfo.setResult("合格");
|
||||
wsMaInfo.setType("1");
|
||||
wsMaInfo.setIsActive("1");
|
||||
|
||||
int countTwo = mapper.insert(wsMaInfo);
|
||||
if (countTwo == 0) {
|
||||
return AjaxResult.error(HttpCodeEnum.FAIL.getCode(), "插入ws_ma_info表失败");
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
LEFT(next_check_time, 10) AS nextCheckTime,
|
||||
LEFT(this_check_time, 10) AS thisCheckTime,
|
||||
ma_model AS maModel,
|
||||
repair_man AS repairMan
|
||||
check_man AS repairMan
|
||||
FROM
|
||||
ws_ma_info
|
||||
<where>
|
||||
|
|
|
|||
Loading…
Reference in New Issue