You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
724 B
XML
18 lines
724 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE mapper
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.aucma.api.mapper.PdaBindingMapper">
|
|
|
|
|
|
<select id="selectBoxNameByCode" resultType="string">
|
|
select MATERIAL_NAME from AUCMA_MES.BASE_MATERIALINFO where MATERIAL_CODE = #{boxCode}
|
|
</select>
|
|
|
|
<insert id="insertBindingInfo">
|
|
INSERT INTO AUCMA_SCADA.CODE_BINDING
|
|
(OBJ_ID, BOX_CODE, BOX_NAME, LINER_CODE, BINDING_RESULT, RECORD_TIME1)
|
|
VALUES (AUCMA_SCADA.SEQ_CODE_BINDING.nextval, #{boxCode}, #{boxName}, #{innerCode}, '成功', SYSDATE)
|
|
</insert>
|
|
|
|
</mapper> |