|
|
@ -5,6 +5,7 @@ import com.ruoyi.tc.entity.po.AssetCurrentCpPo;
|
|
|
|
import org.apache.ibatis.annotations.Delete;
|
|
|
|
import org.apache.ibatis.annotations.Delete;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Update;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
@ -16,15 +17,11 @@ import java.util.List;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public interface AssetCurrentCpMapper extends BaseMapper<AssetCurrentCpPo> {
|
|
|
|
public interface AssetCurrentCpMapper extends BaseMapper<AssetCurrentCpPo> {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param assetId
|
|
|
|
* @param assetId
|
|
|
|
* @param taskId
|
|
|
|
* @param taskId
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Delete("delete from asset_current_cp where id=#{assetId} and task_id =#{taskId} ")
|
|
|
|
@Delete("delete from asset_current_cp where id=#{assetId} and task_id =#{taskId} ")
|
|
|
|
void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId")int taskId);
|
|
|
|
void deletByAssetIdandTaskId(@Param("assetId") Long assetId, @Param("taskId") int taskId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -35,5 +32,16 @@ public interface AssetCurrentCpMapper extends BaseMapper<AssetCurrentCpPo> {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Select("select * from asset_current_cp where task_id=#{taskId}")
|
|
|
|
@Select("select * from asset_current_cp where task_id=#{taskId}")
|
|
|
|
List<AssetCurrentCpPo> findByTaskId(int taskId);
|
|
|
|
List<AssetCurrentCpPo> findByTaskId(int taskId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 修改不通过原因
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param assetId 资产id
|
|
|
|
|
|
|
|
* @param taskId 任务id
|
|
|
|
|
|
|
|
* @param btgyy 不通过原因
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Update("update asset_current_cp set btgyy=#{btgyy} where id=#{assetId} and task_id =#{taskId} ")
|
|
|
|
|
|
|
|
void updateByAssetId(@Param("assetId") Integer assetId, @Param("taskId") Integer taskId, @Param("btgyy") String btgyy);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|