| | |
| | | .eq("wrk_sts", 22) |
| | | .andNew().eq("io_type",108) |
| | | .eq("crn_no",2) |
| | | .orderBy("appe_time",true) |
| | | ); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | |
| | | .eq("wrk_sts", 22) |
| | | .andNew().eq("io_type",108) |
| | | .eq("crn_no",3) |
| | | .orderBy("appe_time",true) |
| | | ); |
| | | if (agvWrkMastList.isEmpty()) { |
| | | return; |
| | |
| | | agvLocMastService.updateLocStsByLocNo(agvWrkMast.getSourceLocNo(),"O","",agvWrkMast.getWhsType().shortValue(),"",(short)0); |
| | | // 新建工作档 |
| | | Date now = new Date(); |
| | | createWrkMast(109, 201L, agvWrkMast.getLocNo(), "", agvWrkMast.getBarcode(), now, 9527L, agvWrkMast.getWhsType(), 0); |
| | | // createWrkMast(109, 201L, agvWrkMast.getLocNo(), "", agvWrkMast.getBarcode(), now, 9527L, agvWrkMast.getWhsType(), 0); |
| | | } |
| | | } |
| | | if (agvWrkMast.getIoType() == 58) { |
| | |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.lang.Nullable; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.util.StreamUtils; |
| | | import org.springframework.web.method.HandlerMethod; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; |
| | | |
| | | import javax.servlet.ServletInputStream; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.lang.reflect.Method; |
| | | import java.nio.charset.Charset; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | Http.response(response, BaseRes.NO_ACTIVATION); |
| | | return false; |
| | | } |
| | | ServletInputStream inputStream = request.getInputStream(); |
| | | String bodyParam = StreamUtils.copyToString(inputStream, Charset.defaultCharset()); |
| | | |
| | | // 记录操作日志 |
| | | OperateLog operateLog = new OperateLog(); |
| | | operateLog.setAction(Cools.isEmpty(memo)?request.getRequestURI():memo); |
| | | operateLog.setIp(request.getRemoteAddr()); |
| | | operateLog.setUserId(user.getId()); |
| | | operateLog.setRequest(JSON.toJSONString(bodyParam)); |
| | | operateLog.setRequest(JSON.toJSONString(request.getParameterMap())); |
| | | request.setAttribute("operateLog", operateLog); |
| | | } |
| | | return true; |
| | |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | |
| | | </sql> |
| | | |
| | | |
| | | <select id="selectByWrkNo" resultMap="BaseResultMap"> |
| | | <select id="selectByWrkNo11" resultMap="BaseResultMap"> |
| | | select * from asr_wrk_detl where 1=1 and wrk_no = #{wrkNo} |
| | | </select> |
| | | |