Commit deab979867453b7295adf4459845a451bec0be28

Authored by 廖磊
1 parent a0ec3eb5

统计日报 子任务烂班不算烂班

src/main/java/com/bsth/controller/oil/YlbController.java
... ... @@ -244,8 +244,8 @@ public class YlbController extends BaseController<Ylb, Integer>{
244 244 m.put("jsy", y.getJsy());
245 245 m.put("name", y.getName());
246 246 m.put("jzl", y.getJzl()<=0?"0":y.getJzl());
247   - m.put("czlc", y.getCzlc()<=0?"0":y.getCzlc());
248   - m.put("jzlc", y.getJzlc()<=0?"0":y.getJzlc());
  247 + m.put("czlc", "0");
  248 + m.put("jzlc", "0");
249 249 m.put("czyl", y.getCzyl()<=0?"0":y.getCzyl());
250 250 m.put("jzyl", y.getJzyl()<=0?"0":y.getJzyl());
251 251 m.put("yh", y.getYh()<=0?"0":y.getYh());
... ... @@ -255,7 +255,7 @@ public class YlbController extends BaseController&lt;Ylb, Integer&gt;{
255 255 if(y.getRylx().equals("1")){rylx="负10号柴油";}
256 256 }
257 257 m.put("rylx", rylx);
258   - m.put("ns", y.getNs());
  258 + m.put("ns", y.getNs()==null?"0":y.getNs());
259 259 String shyy ="无";
260 260 if(y.getShyy()!=null){
261 261 shyy=y.getShyy();
... ...
src/main/java/com/bsth/service/report/impl/ReportServiceImpl.java
... ... @@ -920,7 +920,7 @@ public class ReportServiceImpl implements ReportService{
920 920  
921 921 } else {
922 922 Iterator<ChildTaskPlan> it = childTaskPlans.iterator();
923   - if (scheduleRealInfo.getStatus() == -1) {
  923 + /*if (scheduleRealInfo.getStatus() == -1) {
924 924 while (it.hasNext()) {
925 925 ChildTaskPlan childTaskPlan = it.next();
926 926 if (childTaskPlan.isDestroy()) {
... ... @@ -947,7 +947,7 @@ public class ReportServiceImpl implements ReportService{
947 947  
948 948 }
949 949 }
950   - }else{
  950 + }else{*/
951 951 while (it.hasNext()) {
952 952 ChildTaskPlan childTaskPlan = it.next();
953 953 if (childTaskPlan.isDestroy()) {
... ... @@ -974,7 +974,7 @@ public class ReportServiceImpl implements ReportService{
974 974  
975 975 }
976 976 }
977   - }
  977 +// }
978 978  
979 979 }
980 980 }
... ...
src/main/resources/static/pages/mforms/shiftuehiclemanths/shiftuehiclemanth.html
... ... @@ -108,6 +108,7 @@
108 108 $.get('/report/lineList',function(result){
109 109 xlList=result;
110 110 $.get('/user/companyData', function(result){
  111 +
111 112 obj = result;
112 113 var options = '';
113 114 for(var i = 0; i < obj.length; i++){
... ...