Commit f7620f80 authored by yff's avatar yff

修改标准工序搜索条件为CODE

parent 39e99d0c
...@@ -926,7 +926,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService ...@@ -926,7 +926,7 @@ public class GpfkServiceImpl extends BaseEditServiceImpl implements GpfkService
@Override @Override
public BzgxVO login(String usersn, String bzgxid) { public BzgxVO login(String usersn, String bzgxid) {
BzgxCondition condition = new BzgxCondition(); BzgxCondition condition = new BzgxCondition();
condition.setId(bzgxid); condition.setCondition(bzgxid);
List<BzgxVO> bzgxVOs= bzgxService.query(condition).getRecords(); List<BzgxVO> bzgxVOs= bzgxService.query(condition).getRecords();
if(bzgxVOs==null||bzgxVOs.size()!=1) { if(bzgxVOs==null||bzgxVOs.size()!=1) {
throwReturnMessage("标准工序序列号异常"); throwReturnMessage("标准工序序列号异常");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment