|
@@ -0,0 +1,41 @@
|
|
|
+package thyyxxk.webserver.dao.his.zhuyuanyisheng;
|
|
|
+
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
|
+import thyyxxk.webserver.entity.zhuyuanyisheng.jianyanjiancha.JcZdClass;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 描述: 检查申请
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author xc
|
|
|
+ * @date 2022-02-10 15:42
|
|
|
+ */
|
|
|
+public interface JianChaShenQing {
|
|
|
+
|
|
|
+ @Select("SELECT code =a.code, " +
|
|
|
+ " name = isnull(d.name + '(' + rtrim(a.name) + ')', rtrim(a.name)), " +
|
|
|
+ " bw_code=isnull(d.code, 0), " +
|
|
|
+ " comment1=max(a.comment1), " +
|
|
|
+ " comment2=max(a.comment2), " +
|
|
|
+ " comment3=max(a.comment3), " +
|
|
|
+ " comment4=max(a.comment4), " +
|
|
|
+ " comment5=max(a.comment5), " +
|
|
|
+ " comment6=max(a.comment6), " +
|
|
|
+ " comment7=max(a.comment7), " +
|
|
|
+ " comment8=max(a.comment8) " +
|
|
|
+ "FROM jc_zd_class a, " +
|
|
|
+ " yz_order_item b, " +
|
|
|
+ " jc_zd_item c, " +
|
|
|
+ " ysh_zd_part_code d " +
|
|
|
+ "where a.code = b.order_type " +
|
|
|
+ " and isnull(b.del_flag, '') <> '1' " +
|
|
|
+ " and c.bw_code *= d.code " +
|
|
|
+ " and a.code = c.class " +
|
|
|
+ "group by a.name, d.code, d.name, a.code " +
|
|
|
+ "order by a.code")
|
|
|
+ List<JcZdClass> jianChaZu();
|
|
|
+
|
|
|
+}
|