Commit d6368a11 by 穆龙飞

Merge branch 'feature-changeFlow-221110' of…

Merge branch 'feature-changeFlow-221110' of https://yxwbgit.mail.netease.com/yx-qc-change-flow/yanxuan-qc-change-system into feature-changeFlow-221110
parents 82b1cc3a 178ce80b
......@@ -14,7 +14,7 @@ public interface ChangeConfigService {
ChangeConfig queryChangeConfig(Long id,Long sonChangeClassId);
ChangeConfigPo queryInfoPo(Long id);
ChangeConfigPo queryInfoPo(Long parentChangeClassId,Long sonChangeClassId);
ChangeConfig queryChangeType(Long parentChangeClassId,Long sonChangeClassId);
......
......@@ -27,8 +27,8 @@ public class ChangeConfigServiceImpl implements ChangeConfigService {
}
@Override
public ChangeConfigPo queryInfoPo(Long id) {
return mapper.queryInfoPo(id);
public ChangeConfigPo queryInfoPo(Long parentChangeClassId,Long sonChangeClassId) {
return mapper.queryInfoPo(parentChangeClassId,sonChangeClassId);
}
@Override
......
......@@ -28,7 +28,8 @@ public interface ChangeConfigMapper extends tk.mybatis.mapper.common.Mapper<Chan
ChangeConfig queryInfo(@Param("id") Long id,@Param("sonChangeClassId") Long sonChangeClassId);
ChangeConfigPo queryInfoPo(@Param("id") Long id);
ChangeConfigPo queryInfoPo(@Param("parentChangeClassId")Long parentChangeClassId,
@Param("sonChangeClassId")Long sonChangeClassId);
@Delete("delete from TB_YX_QC_CHANGE_CONFIG where id = #{id}")
void deleteById(@Param("id") Long id);
......
......@@ -83,8 +83,11 @@
from TB_YX_QC_CHANGE_CONFIG
<where>
1=1
<if test="id != null">
and id = #{id}
<if test="parentChangeClassId != null ">
and parent_change_class_id = #{parentChangeClassId}
</if>
<if test="sonChangeClassId != null ">
and son_change_class_id = #{sonChangeClassId}
</if>
</where>
</select>
......
......@@ -17,7 +17,7 @@ import java.util.List;
public interface FlowRpcSupplierService {
/**
* 邮件通知接口
* 供应商模糊查询
* @return
*/
@GetMapping("/api/supplier/getSupplierInfo.json")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment