|
|
@ -30,4 +30,15 @@ public class MesProductOffLineServiceImpl extends BaseMesService<MesProductOffLi
|
|
|
|
DdlPreparedPack.getNumEqualPack(MesExtEnumUtil.REPORT_TYPE.REPORT.getValue(),"reportType",packBean);
|
|
|
|
DdlPreparedPack.getNumEqualPack(MesExtEnumUtil.REPORT_TYPE.REPORT.getValue(),"reportType",packBean);
|
|
|
|
return baseRDao.findByHqlWhere(packBean);
|
|
|
|
return baseRDao.findByHqlWhere(packBean);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public List<MesProductOffLine> findMesProductOffLineByRecordId(String recordId, String organizeCode) {
|
|
|
|
|
|
|
|
if(StringUtil.isEmpty(recordId) || StringUtil.isEmpty(organizeCode)){
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(organizeCode);
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(recordId,"productionRecordId",packBean);
|
|
|
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(MesExtEnumUtil.REPORT_TYPE.REPORT.getValue(),"reportType",packBean);
|
|
|
|
|
|
|
|
return baseRDao.findByHqlWhere(packBean);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|