|
@@ -329,7 +329,7 @@ public class CommonRule {
|
|
|
* @param ruleBaseDTO
|
|
|
* @param billMsgList
|
|
|
* @param ruleSimpleDTO
|
|
|
- * @param set 用于记录:A与B不宜同时进行, B与A不宜同时进行 只能提示一个
|
|
|
+ * @param set 用于记录:A与B不宜同时进行, B与A不宜同时进行 只能提示一个
|
|
|
*/
|
|
|
public void exclusionBill(WordCrfDTO wordCrfDTO, RuleBaseDTO ruleBaseDTO, List<BillMsg> billMsgList, String conType, RuleSimpleDTO ruleSimpleDTO, Set<String> set) {
|
|
|
// 辅检开单项互斥
|
|
@@ -380,7 +380,7 @@ public class CommonRule {
|
|
|
* @param billMsgList
|
|
|
* @param itemList
|
|
|
* @param type
|
|
|
- * @param conType 禁忌条件
|
|
|
+ * @param conType 禁忌条件
|
|
|
* @param <T>
|
|
|
*/
|
|
|
public <T> void repeat24BillWithType(List<BillMsg> billMsgList, List<T> itemList, String type, String conType) {
|
|
@@ -401,8 +401,8 @@ public class CommonRule {
|
|
|
T itNext = items.get(j);
|
|
|
String nextDateValue = ReflectUtil.getProperty(itNext, "dateValue");
|
|
|
if (StringUtil.isNotBlank(nextDateValue)) {
|
|
|
- Date netDate = CatalogueUtil.parseStringDate(nextDateValue);
|
|
|
- if (!CatalogueUtil.compareTime(netDate, curDate, 60L * 24, true)
|
|
|
+ Date nextDate = CatalogueUtil.parseStringDate(nextDateValue);
|
|
|
+ if (!CatalogueUtil.compareTime(curDate, nextDate, 60L * 24, true)
|
|
|
&& getFrquenceType(ReflectUtil.getProperty(it, "frequency"))
|
|
|
.equals(getFrquenceType(ReflectUtil.getProperty(itNext, "frequency")))) {
|
|
|
String name = (String) CoreUtil.getFieldValue(it, "name");
|