|
@@ -298,18 +298,6 @@ public interface MzyRequestMapper {
|
|
|
|
|
|
@Delete("delete from mzy_request_new where id=#{id,jdbcType=BIGINT}")
|
|
|
int deleteMzyRequestById(@Param("id") Long id);
|
|
|
-
|
|
|
- /**
|
|
|
- * 判断是否有夜班排班
|
|
|
- *
|
|
|
- * @param requestDay
|
|
|
- * @param unitCode
|
|
|
- * @param doctorCode
|
|
|
- * @return
|
|
|
- */
|
|
|
- @Select({"<script>",
|
|
|
- "select count(1) from mzy_request_new WITH(NOLOCK) where unit_code=#{unitCode} and doctor_code=#{doctorCode} and ampm='p4' and request_day=#{requestDay,jdbcType=TIMESTAMP} and del_flag=0 and charge_type not in (16,24)",
|
|
|
- "</script>"})
|
|
|
- int isP4Request(@Param("requestDay") Date requestDay, @Param("unitCode") String unitCode, @Param("doctorCode") String doctorCode);
|
|
|
+
|
|
|
|
|
|
}
|