This commit is contained in:
zc
2026-04-21 14:15:58 +08:00
parent 2b6c4ff7f3
commit bcf22400b5
2 changed files with 3 additions and 11 deletions

View File

@@ -78,7 +78,7 @@
</update>
<update id="updateBatchNull">
UPDATE sys_material_info SET batch = null, mark = null
UPDATE sys_material_info SET batch = null
</update>
<update id="updateBatchByCode">
@@ -93,14 +93,6 @@
</foreach>
ELSE batch
END,
mark = CASE
<foreach collection="list" item="item" separator="">
<if test="item.mark != null and item.mark != ''">
WHEN encoding = #{item.encoding} THEN #{item.mark}
</if>
</foreach>
ELSE mark
END,
update_user = CASE
<foreach collection="list" item="item" separator="">
<if test="item.updateUser != null">

View File

@@ -28,9 +28,9 @@ import java.util.regex.Pattern;
public class AHDZCConnect {
//老设备只能跑jar包的
private static final String PORT_NAME = "COM12";
// private static final String PORT_NAME = "COM12";
//新设备(环境齐全的)
// private static final String PORT_NAME = "COM13";
private static final String PORT_NAME = "COM13";
private static final int BAUD_RATE = 9600;
private static final int DATA_BITS = 8;
private static final int STOP_BITS = 1;