From 93e36c526fe445c14d5fb19f3653f8a8e55e3a6c Mon Sep 17 00:00:00 2001 From: wang <3597712270@qq.com> Date: 星期四, 09 五月 2024 15:49:34 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java index 82dae46..a60db72 100644 --- a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java +++ b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/glassinfo/service/impl/GlassInfoServiceImpl.java @@ -1,4 +1,4 @@ -package com.mes.uppattenusage.service.impl; +package com.mes.glassinfo.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; @@ -32,7 +32,7 @@ @Override public int getGlassInfoCountByFlowCardId(String flowCardId) { QueryWrapper<GlassInfo> queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("flowcard_id", flowCardId); + queryWrapper.eq("flow_card_id", flowCardId); return baseMapper.selectCount(queryWrapper); } @@ -47,18 +47,11 @@ @Override public GlassInfo selectGlassId(String id) { QueryWrapper<GlassInfo> queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("id", id); + queryWrapper.eq("glass_id", id); return baseMapper.selectOne(queryWrapper); } -// public void updateFlowCardIdAndCount(String flowCardId, int glassInfoCount, int workstationId) { -// int rowsAffected = glassInfoMapper.updateFlowCardIdAndCount(flowCardId, glassInfoCount, workstationId); -// if (rowsAffected > 0) { -// System.out.println("鏇存柊鏋跺瓙涓婃祦绋嬪崱 ID 鍜屾暟閲忔垚鍔�"); -// } else { -// System.out.println("鏇存柊鏋跺瓙涓婃祦绋嬪崱 ID 鍜屾暟閲忓け璐�"); -// } -// } + } -- Gitblit v1.8.0