提交
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user