|
|
@ -81,6 +81,7 @@ public class MesProductionRecordServiceImpl extends BaseMesService<MesProduction
|
|
|
|
String sql = " from mes_production_record mpr" +
|
|
|
|
String sql = " from mes_production_record mpr" +
|
|
|
|
" where 1=1 " +
|
|
|
|
" where 1=1 " +
|
|
|
|
" and mpr.organize_code =:organizeCode " +
|
|
|
|
" and mpr.organize_code =:organizeCode " +
|
|
|
|
|
|
|
|
" and mpr.report_type !='10' " +
|
|
|
|
" and mpr.is_deleted ='2' " +
|
|
|
|
" and mpr.is_deleted ='2' " +
|
|
|
|
" and mpr.is_valid ='1' ";
|
|
|
|
" and mpr.is_valid ='1' ";
|
|
|
|
if (!StringUtil.isEmpty(startTime)) {
|
|
|
|
if (!StringUtil.isEmpty(startTime)) {
|
|
|
|