no message
							parent
							
								
									024366cd21
								
							
						
					
					
						commit
						3664d4bc78
					
				| 
						 | 
					@ -3750,7 +3750,7 @@ public class DefaultInventoryManager extends DefaultBaseManager implements Inven
 | 
				
			||||||
						+" left join LOCATION loc on inv.LOCATION_ID=loc.ID "
 | 
											+" left join LOCATION loc on inv.LOCATION_ID=loc.ID "
 | 
				
			||||||
						+" left join STOCK sto on loc.stock=sto.ID "
 | 
											+" left join STOCK sto on loc.stock=sto.ID "
 | 
				
			||||||
						+" right join (select containerCode from agvtask  "
 | 
											+" right join (select containerCode from agvtask  "
 | 
				
			||||||
						+" 	where status='ATWORK') agv on agv.containerCode=sto.REMARK ";
 | 
											+" 	where status='ATWORK') agv on agv.containerCode=sto.REMARK and inv.id is not null";
 | 
				
			||||||
				List<Long> ids= jdbcManager.getListLong(sql);
 | 
									List<Long> ids= jdbcManager.getListLong(sql);
 | 
				
			||||||
				return ids;
 | 
									return ids;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -232,6 +232,7 @@ public class DefaultNewAutoAllocator extends DefaultBaseManager implements NewAu
 | 
				
			||||||
			                sb.append(",");
 | 
								                sb.append(",");
 | 
				
			||||||
			            }
 | 
								            }
 | 
				
			||||||
			        }
 | 
								        }
 | 
				
			||||||
 | 
								        if (sb.length()>0) {
 | 
				
			||||||
			        	sqlBuffer.append(" CASE  "
 | 
								        	sqlBuffer.append(" CASE  "
 | 
				
			||||||
								+"   WHEN i.id IN ("
 | 
													+"   WHEN i.id IN ("
 | 
				
			||||||
								+ sb.toString()
 | 
													+ sb.toString()
 | 
				
			||||||
| 
						 | 
					@ -239,6 +240,7 @@ public class DefaultNewAutoAllocator extends DefaultBaseManager implements NewAu
 | 
				
			||||||
								+"   ELSE 0 "
 | 
													+"   ELSE 0 "
 | 
				
			||||||
								+" END, ");
 | 
													+" END, ");
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
				sqlBuffer.append(" i.itemKey.lotInfo.propD2,i.itemKey.lotInfo.propC3,i.itemKey.lotInfo.propC1,i.statuss desc,i.storageDate,i.quantity,i.id");
 | 
									sqlBuffer.append(" i.itemKey.lotInfo.propD2,i.itemKey.lotInfo.propC3,i.itemKey.lotInfo.propC1,i.statuss desc,i.storageDate,i.quantity,i.id");
 | 
				
			||||||
				String hql2=sqlBuffer.toString();
 | 
									String hql2=sqlBuffer.toString();
 | 
				
			||||||
				//排序
 | 
									//排序
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue