| | |
| | | private String memo; |
| | | |
| | | |
| | | /** |
| | | * 工序状态 |
| | | */ |
| | | @ApiModelProperty(value= "工序状态 1:待加工,2:已加工,3:无需加工") |
| | | @TableField("process_sts") |
| | | private Integer processSts; |
| | | |
| | | public OrderDetlLog() {} |
| | | |
| | |
| | | this.updateBy = updateBy; |
| | | this.updateTime = updateTime; |
| | | this.memo = memo; |
| | | this.processSts = processSts; |
| | | } |
| | | |
| | | public String getOrderId$(){ |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getProcessSts$(){ |
| | | if (null == this.processSts){ return null; } |
| | | switch (this.processSts){ |
| | | case 0: |
| | | return "其他"; |
| | | case 1: |
| | | return "待加工"; |
| | | case 2: |
| | | return "已加工"; |
| | | case 3: |
| | | return "无需加工"; |
| | | default: |
| | | return String.valueOf(this.processSts); |
| | | } |
| | | } |
| | | |
| | | public String getBeBatch$(){ |
| | | if (null == this.beBatch){ return null; } |
| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.Iterator; |
| | | import java.util.List; |
| | | import java.util.*; |
| | | |
| | | /** |
| | | * 移动端服务核心类 |
| | |
| | | combMat.setBatch(""); |
| | | } |
| | | } |
| | | |
| | | HashMap<String,Object> cM=new HashMap<>(); |
| | | for (CombParam.CombMat combMat : param.getCombMats()) { |
| | | if (cM.get(combMat.getMatnr()+combMat.getBatch())==null){ |
| | | cM.put(combMat.getMatnr()+combMat.getBatch(),combMat); |
| | | }else { |
| | | throw new CoolException("组托数据中存在重复的数据===>>编码:" + combMat.getMatnr()+"批号:"+combMat.getBatch()); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | combMat.setBatch(""); |
| | | } |
| | | } |
| | | |
| | | HashMap<String,Object> cM=new HashMap<>(); |
| | | for (CombParam.CombMat combMat : param.getCombMats()) { |
| | | if (cM.get(combMat.getMatnr()+combMat.getBatch())==null){ |
| | | cM.put(combMat.getMatnr()+combMat.getBatch(),combMat); |
| | | }else { |
| | | throw new CoolException("组托数据中存在重复的数据===>>编码:" + combMat.getMatnr()+"批号:"+combMat.getBatch()); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | combMat.setBatch(""); |
| | | } |
| | | } |
| | | HashMap<String,Object> cM=new HashMap<>(); |
| | | for (CombParam.CombMat combMat : param.getCombMats()) { |
| | | if (cM.get(combMat.getMatnr()+combMat.getBatch())==null){ |
| | | cM.put(combMat.getMatnr()+combMat.getBatch(),combMat); |
| | | }else { |
| | | throw new CoolException("组托数据中存在重复的数据===>>编码:" + combMat.getMatnr()+"批号:"+combMat.getBatch()); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | |
| | | @ExceptionHandler(CoolException.class) |
| | | public R handleRRException(CoolException e) { |
| | | e.printStackTrace(); |
| | | String[] split = e.getMessage().split("-"); |
| | | if (split.length == 2) { |
| | | if (String.valueOf(split[0]).length() < 3) { |
| | |
| | | package com.zy.common.model; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | |
| | | } |
| | | } |
| | | if (dto.getAnfme() > locDetl.getAnfme()) { |
| | | System.out.println(JSON.toJSON(dto)); |
| | | System.out.println(JSON.toJSON(locDetl)); |
| | | throw new CoolException("服务器内部错误"); |
| | | } |
| | | if (dto.getAnfme().equals(locDetl.getAnfme())) { |
| | |
| | | url: baseUrl+'/orderDetl/pakout/list/auth', |
| | | page: true, |
| | | limit: 15, |
| | | limits: [15, 30, 50, 100, 200, 500], |
| | | limits: [15, 30, 50, 100, 200, 1000], |
| | | toolbar: '#orderDetToolbar', |
| | | height: 'full-120', |
| | | where: {order_id: 9999999999}, |
| | |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/tools/md5.js"></script> |
| | | <script type="text/javascript" src="../../static/js/orderTable.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/order/out.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/order/out.js?v=1" charset="utf-8"></script> |
| | | <!--<script type="text/template" id="takeSiteSelectTemplate">--> |
| | | <!-- {{#each data}}--> |
| | | <!-- <option value="{{siteId}}">{{desc}}</option>--> |