@ -116,7 +116,7 @@ public class MoveProductPublishQueueServiceImpl implements MoveProductPublishQue
@Override
public int count() {
return moveProductPublishQueueMapper.count();
return moveProductPublishQueueMapper.countByTaskDetailId();
}
@ -23,6 +23,8 @@ public interface MoveProductPublishQueueMapper {
int updateByPrimaryKey(MoveProductPublishQueue record);
int countByTaskDetailId();
int count();
int insertBatch(List<MoveProductPublishQueue> insertListNew);
@ -26,7 +26,7 @@
</sql>
<select id="count" resultType="java.lang.Integer">
<select id="countByTaskDetailId" resultType="java.lang.Integer">
select
count(1)
from move_product_publish_queue
@ -51,7 +51,7 @@
count(*)
</select>