| | |
| | | buttons: [ |
| | | {code: 'update', name: t('合架'), status: 'primary'}, |
| | | {code: 'save', name: t('保存'), status: 'primary'}, |
| | | {code: 'clear', name: t('删除'), status: 'primary'}, |
| | | {code: 'clear', name: t('清空'), status: 'primary'}, |
| | | ], |
| | | |
| | | }, |
| | |
| | | |
| | | Boolean updateComposing(String processId); |
| | | |
| | | Boolean updateProcessCardRack(String processId,String technologyNumber,Integer orderNumber,String rack); |
| | | Boolean updateProcessCardRack(String processId,String technologyNumber,String rack); |
| | | |
| | | List<Map<String, String>> getPrintLabel(String projectNo); |
| | | |
| | |
| | | List<FlowCard> flowCardList = JSONArray.parseArray(JSONObject.toJSONString(object.get("composing")), FlowCard.class); |
| | | if (!flowCardList.isEmpty()) { |
| | | for (FlowCard flowCard : flowCardList) { |
| | | flowCardMapper.updateProcessCardRack(flowCard.getProcessId(),flowCard.getTechnologyNumber(),flowCard.getOrderNumber(),flowCard.getRack()); |
| | | flowCardMapper.updateProcessCardRack(flowCard.getProcessId(),flowCard.getTechnologyNumber(),flowCard.getRack()); |
| | | } |
| | | return true; |
| | | } |
| | |
| | | <update id="updateProcessCardRack"> |
| | | update flow_card as fc |
| | | set fc.rack=#{rack} |
| | | where fc.process_id = #{processId} and fc.technology_number=#{technologyNumber} and order_number=#{orderNumber} |
| | | where fc.process_id = #{processId} and fc.technology_number=#{technologyNumber} |
| | | </update> |
| | | |
| | | <select id="getPrintLabel"> |