fix(asms): 国标同步问题
This commit is contained in:
+2
@@ -26,4 +26,6 @@ public interface LawsDomesticStandardMapper extends BaseMapper<LawsDomesticStand
|
||||
void cleanAnnulmentDate();
|
||||
|
||||
int queryCountById(@Param("id") String id);
|
||||
|
||||
int delById(@Param("id") String id);
|
||||
}
|
||||
|
||||
+4
@@ -46,6 +46,10 @@
|
||||
<result column="draft" property="draft" />
|
||||
</resultMap>
|
||||
|
||||
<delete id="delById">
|
||||
DELETE FROM laws_domestic_standard WHERE id = #{id}
|
||||
</delete>
|
||||
|
||||
<select id="queryCountById" resultType="java.lang.Integer">
|
||||
SELECT count(*) FROM laws_domestic_standard WHERE id = #{id}
|
||||
</select>
|
||||
|
||||
+6
@@ -86,4 +86,10 @@ public interface ILawsDomesticStandardService extends IService<LawsDomesticStand
|
||||
* @return
|
||||
*/
|
||||
int queryCountById(String id);
|
||||
|
||||
/**
|
||||
* 物理删除
|
||||
* @param id
|
||||
*/
|
||||
void delById(String id);
|
||||
}
|
||||
|
||||
+5
@@ -147,4 +147,9 @@ public class LawsDomesticStandardServiceImpl extends ServiceImpl<LawsDomesticSta
|
||||
public int queryCountById(String id) {
|
||||
return lawsDomesticStandardMapper.queryCountById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void delById(String id) {
|
||||
lawsDomesticStandardMapper.delById(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user