|
@@ -26,10 +26,10 @@
|
|
|
WHERE basic_id in
|
|
|
(SELECT id
|
|
|
FROM dye_basic
|
|
|
- WHERE GROUP_CODE = #{groupCode}
|
|
|
- AND PROJECT_ID = #{projectId}
|
|
|
+ WHERE GROUP_CODE = 'standard'
|
|
|
+ AND PROJECT_ID = 'default_standard'
|
|
|
AND type_code = #{typeCode}
|
|
|
- AND season_code = (SELECT DICT_CODE FROM `work_calendar_label` WHERE LABEL_DATE = #{queryDate} AND PROJECT_ID = #{projectId})
|
|
|
+ AND season_code = (SELECT DICT_CODE FROM `work_calendar_label` WHERE LABEL_DATE = #{queryDate} AND PROJECT_ID = 'default_standard')
|
|
|
AND is_delete = 0)
|
|
|
AND is_delete = 0
|
|
|
ORDER BY order_num
|
|
@@ -40,11 +40,11 @@
|
|
|
FROM `dye_rule_default`
|
|
|
WHERE basic_id IN (SELECT id
|
|
|
FROM dye_basic
|
|
|
- WHERE GROUP_CODE = #{dyeScaleplateVO.groupCode}
|
|
|
- AND PROJECT_ID = #{dyeScaleplateVO.projectId}
|
|
|
+ WHERE GROUP_CODE = 'standard'
|
|
|
+ AND PROJECT_ID = 'default_standard'
|
|
|
AND type_code = #{dyeScaleplateVO.typeCode}
|
|
|
AND is_delete = 0
|
|
|
- AND season_code = (SELECT DICT_CODE FROM `work_calendar_label` WHERE LABEL_DATE = #{dyeScaleplateVO.queryDate} AND PROJECT_ID = #{dyeScaleplateVO.projectId}))
|
|
|
+ AND season_code = (SELECT DICT_CODE FROM `work_calendar_label` WHERE LABEL_DATE = #{dyeScaleplateVO.queryDate} AND PROJECT_ID = 'default_standard'))
|
|
|
AND is_delete = 0
|
|
|
AND ((upper_symbol = ')' AND upper_limit > #{numValue}) OR (upper_symbol = ']' AND upper_limit >= #{numValue}))
|
|
|
AND ((lower_symbol = '(' AND lower_limit < #{numValue}) OR (lower_symbol = '[' AND lower_limit <= #{numValue}))
|