3/6 monitor purchase 优化1.0

dev_2.5_ocean
wangwei 4 months ago
parent c21443b22a
commit 6311af8819

@ -20,14 +20,6 @@ public interface SysLogininforMapper {
List<SysLogininfor> selectLogininforList(FilterLoginLogRequest logininforRequest);
/**
*
*
* @param logininfor 访
*/
void insertLogininfor(SysLogininfor logininfor);
/**
*
*

@ -24,8 +24,6 @@ public interface SupCertDao extends BaseMapperPlus<SupCertDao, SupCertEntity, Su
boolean updateCompanyCert(SupCertEntity supCertEntity);
boolean insertCompanyCert(SupCertEntity supCertEntity);
boolean deleteById(String id);
boolean updateCustomerId(@Param("oldId") String oldId, @Param("newId") String newId, @Param("auditStatus") Integer auditStatus);

@ -12,9 +12,6 @@ import java.util.List;
public interface SupCertSetDao extends BaseMapperPlus<SupCertSetDao, SupCertSetEntity, SupCertSetEntity> {
List<SupCertSetEntity> filterCertSets(FilterCertSetsRequest filterCertSetsRequest);
boolean insertCertSet(SupCertSetEntity supCertSetEntity);
boolean updateCertSet(SupCertSetEntity supCertSetEntity);
boolean deleteById(String id);

@ -29,11 +29,4 @@ public interface SupCompanyDao extends BaseMapperPlus<SupCompanyDao, SupCompanyE
boolean deleteCompany(String customerId);
/**
* ID
*
* @param customerId
* @return
*/
String selectNameByCustomerId(@Param("customerId") String customerId);
}

@ -26,11 +26,4 @@ public interface SupManufacturerDao extends BaseMapperPlus<SupManufacturerDao, S
List<SupManufacturerEntity> getCompanyByNameAndCode(FilterSupManufacturerRequest filterSupManufacturerRequest);
/**
* ID
*
* @param manufacturerId
* @return
*/
String selectNameByManufacturerId(@Param("manufacturerId") String manufacturerId);
}

@ -23,8 +23,6 @@ public interface SupProductDao extends BaseMapperPlus<SupProductDao,SupProductEn
List<SupProductEntity> filterProducts(FilterPoductRequest filterPoductRequest);
boolean insertRegistration(SupProductEntity supProductEntity);
boolean deleteById(@Param("id") String id);
int findProduct(SupProductEntity supProductEntity);
boolean deleteByEnterpriseId(@Param("enterpriseId") String enterpriseId);

@ -41,13 +41,6 @@
</select>
<select id="selectById" parameterType="java.lang.Long"
resultMap="SysLogininforResult">
select *
FROM monitor_login_log
WHERE oper_id = #{id}
</select>
<insert id="insert" keyProperty="infoId" useGeneratedKeys="true"
parameterType="com.glxp.api.entity.monitor.SysLogininfor">
INSERT INTO monitor_login_log( `user_name`, `status`, ipaddr, `login_location`, browser, `os`, msg
@ -57,12 +50,6 @@
#{loginLocation}, #{browser}, #{os}, #{msg}, #{loginTime})
</insert>
<delete id="delete" parameterType="java.lang.Long">
delete
from monitor_login_log
where info_id = #{id}
</delete>
<delete id="deleteBatchIds" parameterType="java.util.List"
>

@ -36,21 +36,6 @@
ORDER BY id DESC
</select>
<select id="selectCompanyCert" parameterType="com.glxp.api.req.purchase.FilterSupCertRequest"
resultType="com.glxp.api.entity.purchase.SupCertEntity">
SELECT * FROM sup_cert
<where>
<if test="customerId != null and customerId != ''">
and customerId = #{customerId}
</if>
<if test="name != null and name != ''">
and #{name}
</if>
</where>
</select>
<select id="findCompanyCertByName" parameterType="java.lang.String"
resultType="com.glxp.api.entity.purchase.SupCertEntity">
SELECT *
@ -135,21 +120,6 @@
</update>
<insert id="insertCompanyCert" parameterType="com.glxp.api.entity.purchase.SupCertEntity">
INSERT INTO sup_cert( `name`, customerId, filePath, remark, createTime, updateTime
, vailDate, expireDate, `type`, manufacturerIdFk, productIdFk, code, auditStatus
, auditComment, status)
values (#{name},
#{customerId},
#{filePath},
#{remark},
#{createTime},
#{updateTime},
#{vailDate},
#{expireDate},
#{type}, #{manufacturerIdFk}, #{productIdFk}, #{code}, #{auditStatus}, #{auditComment}, #{status})
</insert>
<delete id="deleteById" parameterType="Map">
DELETE
FROM sup_cert

@ -51,24 +51,10 @@
WHERE id = #{id}
</update>
<insert id="insertCertSet" parameterType="com.glxp.api.entity.purchase.SupCertSetEntity">
INSERT INTO sup_cert_set(`name`, `need`, `foreign`, remark, cplx, updateTime, hchzsb, flbm, imports, `type`)
values (#{name},
#{need},
#{foreign},
#{remark},
#{cplx},
#{updateTime},
#{hchzsb},
#{flbm},
#{imports}, #{type})
</insert>
<delete id="deleteAll">
DELETE
FROM sup_cert_set
</delete>
</mapper>
</mapper>

Loading…
Cancel
Save