| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Mapper |
| | |
| | | List<WrkDetl> selectPakoutQuery(@Param("staNo")Integer staNo, @Param("matnr")String matnr); |
| | | |
| | | List<WrkDetl> selectAndLogByOrderNoGroupByMatnrOfSum(String orderNo); |
| | | |
| | | int updateIoTimeWms(@Param("workNo") Integer workNo, @Param("ioTime") Date ioTime); |
| | | } |
| | |
| | | |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import com.zy.asrs.entity.WrkMast; |
| | | import org.apache.ibatis.annotations.Insert; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | @Select("select count(1) from asr_wrk_mast where 1=1 and io_type = #{ioType} and sta_no = #{staNo}") |
| | | int selectWrkMastBareBoardStaNo(Integer ioType,Integer staNo); |
| | | |
| | | // work log ------------------------------------------------------- |
| | | @Insert("insert into asr_wrk_mast_log select * from asr_wrk_mast where wrk_no=#{workNo}") |
| | | int saveWrkMastLog(Integer workNo); |
| | | |
| | | } |
| | |
| | | @ResponseBody |
| | | @Transactional |
| | | public synchronized R getLocNo2(@RequestBody SearchLocParam param) { |
| | | log.info("收到WCS入库接口请求2====>>入参:{}", param); |
| | | if (Cools.isEmpty(param.getIoType())) { |
| | | return R.error("入出库类型不能为空"); |
| | | } |
| | |
| | | server: |
| | | port: 8084 |
| | | port: 8080 |
| | | servlet: |
| | | context-path: /@pom.build.finalName@ |
| | | |
| | |
| | | group by awdl.wrk_no, awdl.io_time, awdl.matnr ,awdl.zpallet,awdl.specs,awdl.maktx |
| | | </select> |
| | | |
| | | |
| | | |
| | | <update id="updateIoTimeWms"> |
| | | update asr_wrk_detl |
| | | set io_time = #{ioTime} |
| | | where 1=1 |
| | | and wrk_no = #{workNo} |
| | | </update> |
| | | |
| | | </mapper> |