|
@@ -564,34 +564,14 @@ public interface JianYanJianChaDao {
|
|
|
@Select("select note , collection_info as collectionInfo from ${tableName} where zy_order_code= #{orderCode}")
|
|
|
JSONObject getExamineIllustrate(String orderCode, String tableName);
|
|
|
|
|
|
-
|
|
|
- @Select("select a.order_code as code,\n" +
|
|
|
- " c.name as name,\n" +
|
|
|
- " cast(rtrim(isnull(nullif(c.del_flag,\n" +
|
|
|
- " ''),\n" +
|
|
|
- " 0)) as int) item_del_flag,\n" +
|
|
|
- " cast(rtrim(isnull(nullif(a.del_flag,\n" +
|
|
|
- " ''),\n" +
|
|
|
- " 0)) as int) as order_del_flag,\n" +
|
|
|
- " e.gender_restriction,\n" +
|
|
|
- " e.max_age_restriction,\n" +
|
|
|
- " e.min_age_restriction,limit_times \n" +
|
|
|
- "from yz_order_item a with (NOLOCK)\n" +
|
|
|
- " left join yz_order_occurence b with (NOLOCK) on (a.order_code = b.order_code)\n" +
|
|
|
- " left join zd_charge_item c with (NOLOCK) on (c.code = b.occ_code)\n" +
|
|
|
- " left join ${tableName} e with (NOLOCK) on (a.order_code = e.zy_order_code) " +
|
|
|
- " where ${ew.sqlSegment};")
|
|
|
- List<JyJcCheckItemDto> selectJyJcCheckItemDto(@Param("ew") QueryWrapper<?> queryWrapper, @Param("tableName") String tableName);
|
|
|
-
|
|
|
-
|
|
|
@Select("select gender_restriction,\n" +
|
|
|
" max_age_restriction,\n" +
|
|
|
" min_age_restriction,\n" +
|
|
|
- " zy_order_code as code," +
|
|
|
+ " zy_order_code as code,rtrim(class) as order_type," +
|
|
|
" rtrim(name) as name," +
|
|
|
" cast(rtrim(isnull(nullif(del_flag,\n" +
|
|
|
" ''),\n" +
|
|
|
- " 0)) as int) as del_flag, ${col} " +
|
|
|
+ " 0)) as int) as del_flag ${col} " +
|
|
|
" from ${tableName} \n" +
|
|
|
" where ${ew.sqlSegment};")
|
|
|
List<JyJcCheckItemDto> selectJyJcCheckItemDtoByOrderCode(@Param("ew") QueryWrapper<?> queryWrapper,
|
|
@@ -611,4 +591,18 @@ public interface JianYanJianChaDao {
|
|
|
" left join zd_charge_item c on (c.code = b.occ_code)\n" +
|
|
|
"where ${ew.sqlSegment};")
|
|
|
List<JyJcCheckItemDto.ItemInfo> selectItemDetailsByOrderCode(@Param("ew") QueryWrapper<?> queryWrapper);
|
|
|
+
|
|
|
+
|
|
|
+ @Select("select rtrim(code) code, rtrim(name) name , rtrim(parent_code) as parent_code\n" +
|
|
|
+ "from ysh_zd_part_code\n" +
|
|
|
+ "where isnull(del_flag, 0) = 0\n")
|
|
|
+ List<GetDropdownBox> selectBuWeiAll();
|
|
|
+
|
|
|
+
|
|
|
+ @Select("select rtrim(parent_code) as parent_code\n" +
|
|
|
+ "from ysh_zd_part_code\n" +
|
|
|
+ "where isnull(del_flag, 0) = 0\n" +
|
|
|
+ " and parent_code is not null\n" +
|
|
|
+ "group by parent_code")
|
|
|
+ List<String> selectBuWeiParentCode();
|
|
|
}
|