diff --git a/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml b/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
index 87b85a3..59f6d78 100644
--- a/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
+++ b/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
@@ -127,6 +127,47 @@
per_type = #{perType,jdbcType=INTEGER},
+
+
+ device = #{device,jdbcType=INTEGER},
+
+
+ deviceCon = #{deviceCon,jdbcType=INTEGER},
+
+
+ doctorWeek = #{doctorWeek,jdbcType=INTEGER},
+
+
+ serviceWeek = #{serviceWeek,jdbcType=INTEGER},
+
+
+ serStartWeek = #{serStartWeek,jdbcType=INTEGER},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ docStartWeek = #{docStartWeek,jdbcType=INTEGER},
+
+
+ docEndWeek = #{docEndWeek,jdbcType=INTEGER},
+
+
+
+ serStartTime = #{serStartTime,jdbcType=TIMESTAMP},
+
+
+
+ serEndTime = #{serEndTime,jdbcType=TIMESTAMP},
+
+
+
+ docStartTime = #{docStartTime,jdbcType=TIMESTAMP},
+
+
+
+ docEndTime = #{docEndTime,jdbcType=TIMESTAMP},
+
where id = #{id,jdbcType=VARCHAR}
@@ -243,6 +284,48 @@
and per_type = #{perType,jdbcType=INTEGER}
+
+
+ and device = #{device,jdbcType=INTEGER}
+
+
+ and deviceCon = #{deviceCon,jdbcType=INTEGER}
+
+
+ and doctorWeek = #{doctorWeek,jdbcType=INTEGER}
+
+
+ and serviceWeek = #{serviceWeek,jdbcType=INTEGER}
+
+
+ and serStartWeek = #{serStartWeek,jdbcType=INTEGER}
+
+
+ and status = #{status,jdbcType=INTEGER},
+
+
+ and docStartWeek = #{docStartWeek,jdbcType=INTEGER}
+
+
+ and docEndWeek = #{docEndWeek,jdbcType=INTEGER}
+
+
+
+ and serStartTime = #{serStartTime,jdbcType=TIMESTAMP}
+
+
+
+ and serEndTime = #{serEndTime,jdbcType=TIMESTAMP}
+
+
+
+ and docStartTime = #{docStartTime,jdbcType=TIMESTAMP}
+
+
+
+ and docEndTime = #{docEndTime,jdbcType=TIMESTAMP}
+
+
${sql}
diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyNutritionFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyNutritionFacade.java
index 0aa1a41..f808329 100644
--- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyNutritionFacade.java
+++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyNutritionFacade.java
@@ -893,11 +893,7 @@ public class BabyNutritionFacade {
}
private Double getMathRound(Double kcal) {
- if ((kcal) % 100 == 0)
- {
- return kcal;
- }
- else
+ if (kcal % 100 != 0)
{
kcal+=50;
}