|
@@ -179,6 +179,6 @@ public interface SiMzDao {
|
|
|
"med_org_ord=#{id} and ord_state='SETTLED'")
|
|
|
int getMipSettleCount(String id);
|
|
|
|
|
|
- @Select("select lock_flag from mz_order_lock where his_order_num=#{id}")
|
|
|
- Integer getLockFlag(String id);
|
|
|
+ @Select("select count(1) from mz_order_lock where his_order_num=#{id} and lock_flag=1 and ybzf=1")
|
|
|
+ int getLockedCount(String id);
|
|
|
}
|