|
@@ -20,8 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
<select id="getProcuctDrawing" resultType="integer">
|
|
|
select count(1) from biz_product where deleted = 0 and type = 9 and production_type_code = 'N' and id in(
|
|
|
- select product_id from biz_technological_process_detail_drawing where deleted = 0
|
|
|
-
|
|
|
+ select product_id from biz_technological_process_detail_drawing where deleted = 0 AND MONTH(create_time) = MONTH(CURRENT_DATE)
|
|
|
)
|
|
|
</select>
|
|
|
|