wupengfei 1 year ago
parent
commit
69816240ab
2 changed files with 9 additions and 2 deletions
  1. 2 2
      .idea/workspace.xml
  2. 7 0
      application/nutrition/controller/CommentReport.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/common/service/UserSynth.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/service/UserSynth.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/nutrition/controller/CommentReport.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/controller/CommentReport.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -443,7 +443,7 @@
       <workItem from="1694739473903" duration="20371000" />
       <workItem from="1694997975324" duration="5574000" />
       <workItem from="1695085328694" duration="21844000" />
-      <workItem from="1695603648860" duration="10929000" />
+      <workItem from="1695603648860" duration="11082000" />
     </task>
     <servers />
   </component>

+ 7 - 0
application/nutrition/controller/CommentReport.php

@@ -98,6 +98,13 @@ class CommentReport extends Controller
                         ->where('a.id', $val['object_info']['demand_id'])
                         ->find()->toArray();
                     break;
+                case 17:
+                    $val['object_info'] = \app\common\model\DemandComment::where('id',$val['report_id'])->find()->toArray();
+                    $val['be_report'] = \app\common\model\PlatformDemand::field('a.id second_id,a.title second_title')
+                        ->alias('a')
+                        ->where('a.id', $val['object_info']['demand_id'])
+                        ->find()->toArray();
+                    break;